ioemu: Cleanup the code of PCI passthrough.
PATCH 1/1 ioemu: Cleanup the code of PCI passthrough.
This patch cleanups the code of PCI passthrough.
- Use LIST_FOREACH(). Don't use lh_first, le_next directly.
- Use pci_{read, write}_block instead of "switch(len) case [124] pci_{read, write}_{byte, word, long}();".
- Eliminate duplicate codes using PT_MEARGE_VALUE macro.
- Define PCI_ERR_* macro in pass-through.h if libpci is old.
- Remove the unreasonable loop from pt_aer_reg_{save,restore}.
- Enable pt_aer_reg_{save,restore}, even if libpci is old.
- Fix ro_mask and remove unnecessary pt_xxx_reg_write functions.
- Add "Error:" or "Warning:" to messages.
- Remove verbose messages.
Thanks,
--
Yuji Shimada.
hw/pass-through.c +114 -310
@@ -126,18 +126,6 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,static int pt_pmcsr_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask);static int pt_msgctrl_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask);
@@ -413,7 +401,7 @@ static struct pt_reg_info_tbl pt_emu_reg_pm_tbl[] = { .offset = PCI_PM_CTRL, .size = 2, .init_val = 0x0008, - .ro_mask = 0x60FC, + .ro_mask = 0xE1FC, .emu_mask = 0x8100, .init = pt_pmcsr_reg_init, .u.w.read = pt_word_reg_read,
@@ -494,11 +482,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_DEVCTL, .size = 2, .init_val = 0x2810, - .ro_mask = 0x0000, + .ro_mask = 0x8400, .emu_mask = 0xFFFF, .init = pt_common_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control reg */
@@ -506,11 +494,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_LNKCTL, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFC34, .emu_mask = 0xFFFF, .init = pt_linkctrl_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Device Control 2 reg */
@@ -518,11 +506,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x28, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFFE0, .emu_mask = 0xFFFF, .init = pt_devctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control 2 reg */
@@ -530,11 +518,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x30, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xE040, .emu_mask = 0xFFFF, .init = pt_linkctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, }, {
@@ -1051,8 +1039,7 @@ struct pt_reg_grp_tbl* pt_find_reg_grp(struct pt_reg_grp_tbl * reg_grp_entry =NULL ;/* find register group entry */ -for (reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first; reg_grp_entry; - reg_grp_entry = reg_grp_entry->entries.le_next) + LIST_FOREACH(reg_grp_entry, &ptdev->reg_grp_tbl_head, entries) {/* check address */ if ((reg_grp_entry->base_offset <= address) &&
@@ -1075,8 +1062,7 @@ struct pt_reg_tbl* pt_find_reg(uint32_t real_offset =0 ;/* find register entry */ -for (reg_entry = reg_grp->reg_tbl_head.lh_first; reg_entry; - reg_entry = reg_entry->entries.le_next) + LIST_FOREACH(reg_entry, ®_grp->reg_tbl_head, entries) { reg = reg_entry->reg; real_offset = (reg_grp->base_offset + reg->offset);
@@ -1140,7 +1126,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to write register with offset exceeding FFh. " +PT_LOG ("Error: Failed to write register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1150,7 +1136,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check write size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to write register with invalid access length. " +PT_LOG ("Error: Failed to write register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1160,8 +1146,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to write register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to write register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1172,8 +1158,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if ((index >=0 ) && (val >0 && val <PT_BAR_ALLF ) && (assigned_device->bases[index].bar_flag ==PT_BAR_FLAG_UNUSED )) { -PT_LOG ("Guest attempt to set address to unused Base Address Register. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Warning: Guest attempt to set address to unused Base Address " +"Register. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); }
@@ -1194,7 +1180,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if (reg_grp->grp_type ==GRP_TYPE_HARDWIRED ) {/* ignore silently */ -PT_LOG ("Access to 0 Hardwired register. " +PT_LOG ("Warning: Access to 0 Hardwired register. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1203,28 +1189,14 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, }/* read I/O device register value */ -switch (len) { -case 1 : - read_val =pci_read_byte (pci_dev, address); -break ; -case 2 : - read_val =pci_read_word (pci_dev, address); -break ; -case 4 : - read_val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&read_val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((read_val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&read_val,0xff , len); } - +/* pass directly to libpci for passthrough type register group */ if (reg_grp_entry ==NULL ) goto out;
@@ -1303,17 +1277,10 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, val >>= ((address &3 ) <<3 ); out: -switch (len){ -case 1 : -pci_write_byte (pci_dev, address, val); -break ; -case 2 : -pci_write_word (pci_dev, address, val); -break ; -case 4 : -pci_write_long (pci_dev, address, val); -break ; - } + ret =pci_write_block (pci_dev, address, (uint8_t *)&val, len); + +if (!ret) +PT_LOG ("Error: pci_write_block failed. return value[%d].\n" , ret);if (pm_state->flags &PT_FLAG_TRANSITING )/* set QEMUTimer */
@@ -1329,7 +1298,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)struct pt_dev *assigned_device = (struct pt_dev *)d;struct pci_dev *pci_dev = assigned_device->pci_dev;struct pt_pm_info *pm_state = assigned_device->pm_state; -uint32_t val =0xFFFFFFFF ; +uint32_t val =0 ;struct pt_reg_grp_tbl *reg_grp_entry =NULL ;struct pt_reg_grp_info_tbl *reg_grp =NULL ;struct pt_reg_tbl *reg_entry =NULL ;
@@ -1344,7 +1313,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to read register with offset exceeding FFh. " +PT_LOG ("Error: Failed to read register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1354,7 +1323,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check read size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to read register with invalid access length. " +PT_LOG ("Error: Failed to read register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1364,8 +1333,8 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to read register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to read register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1393,26 +1362,12 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len) }/* read I/O device register value */ -switch (len) { -case 1 : - val =pci_read_byte (pci_dev, address); -break ; -case 2 : - val =pci_read_word (pci_dev, address); -break ; -case 4 : - val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&val,0xff , len); }/* just return the I/O device register value for
@@ -1514,7 +1471,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) fp =fopen (path,"r" );if ( !fp ) { -PT_LOG ("Can't open %s: %s\n" , path,strerror (errno)); +PT_LOG ("Error: Can't open %s: %s\n" , path,strerror (errno));return ; }
@@ -1522,7 +1479,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) {if (fscanf (fp,"%llx %llx %llx" , &start, &end, &flags) !=3 ) { -PT_LOG ("Syntax error in %s\n" , path); +PT_LOG ("Error: Syntax error in %s\n" , path);break ; }
@@ -1800,8 +1757,8 @@ static void pt_bar_mapping(struct pt_dev *ptdev, int io_enable, int mem_enable)/* check overlapped address */ ret =pt_chk_bar_overlap (dev->bus, dev->devfn, r_addr, r_size);if (ret >0 ) -PT_LOG ("ptdev[%02x:%02x.%x][Region:%d][Address:%08xh][Size:%08xh] " -"is overlapped.\n" ,pci_bus_num (dev->bus), +PT_LOG ("Warning: ptdev[%02x:%02x.%x][Region:%d][Address:%08xh]" +"[Size:%08xh] is overlapped.\n" ,pci_bus_num (dev->bus), (dev->devfn >>3 ) &0x1F , (dev->devfn &0x7 ), i, r_addr, r_size);
@@ -1841,68 +1798,51 @@ int check_power_state(struct pt_dev *ptdev)return 0 ; } -/* save AER register */ -static void pt_aer_reg_save (struct pt_dev *ptdev) +/* save AER one register */ +static void aer_save_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* after reset, following register values should be restored. -* So, save them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - *(uint32_t *)(d->config + (aer_base + i)) - =pci_read_long (ptdev->pci_dev, (aer_base + i)); -break ; -default : -break ; - } - } -#endif + *(uint32_t *)(d->config + (aer_base + offset)) + =pci_read_long (ptdev->pci_dev, (aer_base + offset)); } -/* restore AER register */ -static void pt_aer_reg_restore (struct pt_dev *ptdev) +/* save AER registers */ +static void pt_aer_reg_save (struct pt_dev *ptdev) +{ +/* after reset, following register values should be restored. +* So, save them. +*/ +aer_save_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_save_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_CAP ); +} + +/* restore AER one register */ +static void aer_restore_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ;uint32_t config =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* the following registers should be reconfigured to correct values -* after reset. restore them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - config = *(uint32_t *)(d->config + (aer_base + i)); -pci_write_long (ptdev->pci_dev, (aer_base + i), config); -break ; -/* other registers should not be reconfigured after reset -* if there is no reason -*/ -default : -break ; - } - } -#endif + config = *(uint32_t *)(d->config + (aer_base + offset)); +pci_write_long (ptdev->pci_dev, (aer_base + offset), config); +} + +/* restore AER registers */ +static void pt_aer_reg_restore (struct pt_dev *ptdev) +{ +/* the following registers should be reconfigured to correct values +* after reset. restore them. +* other registers should not be reconfigured after reset +* if there is no reason +*/ +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_restore_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_CAP ); }/* reset Interrupt and I/O resource */
@@ -2115,7 +2055,7 @@ static int pt_config_reg_init(struct pt_dev *ptdev, reg_entry =qemu_mallocz (sizeof (struct pt_reg_tbl ));if (reg_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2171,7 +2111,7 @@ static int pt_config_init(struct pt_dev *ptdev) reg_grp_entry =qemu_mallocz (sizeof (struct pt_reg_grp_tbl ));if (reg_grp_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2239,10 +2179,10 @@ static void pt_config_delete(struct pt_dev *ptdev) }/* free all register group entry */ -while ((reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first) !=NULL ) +while ((reg_grp_entry =LIST_FIRST (&ptdev->reg_grp_tbl_head)) !=NULL ) {/* free all register entry */ -while ((reg_entry = reg_grp_entry->reg_tbl_head.lh_first) !=NULL ) +while ((reg_entry =LIST_FIRST (®_grp_entry->reg_tbl_head)) !=NULL ) {LIST_REMOVE (reg_entry, entries);qemu_free (reg_entry);
@@ -2624,7 +2564,7 @@ static uint8_t pt_msi_size_init(struct pt_dev *ptdev,if ( !ptdev->msi ) {/* exit I/O emulator */ -PT_LOG ("error allocation pt_msi_info. I/O emulator exit.\n" ); +PT_LOG ("Error: Allocating pt_msi_info failed. I/O emulator exit.\n" );exit (1 ); }memset (ptdev->msi,0 ,sizeof (struct pt_msi_info ));
@@ -2754,8 +2694,7 @@ static int pt_byte_reg_read(struct pt_dev *ptdev,/* emulate byte register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2770,8 +2709,7 @@ static int pt_word_reg_read(struct pt_dev *ptdev,/* emulate word register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2786,8 +2724,7 @@ static int pt_long_reg_read(struct pt_dev *ptdev,/* emulate long register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2833,8 +2770,7 @@ static int pt_bar_reg_read(struct pt_dev *ptdev,/* emulate BAR */ valid_emu_mask = bar_emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2850,13 +2786,11 @@ static int pt_byte_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2872,13 +2806,11 @@ static int pt_word_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2894,13 +2826,11 @@ static int pt_long_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2917,12 +2847,11 @@ static int pt_cmd_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* mapping BAR */ pt_bar_mapping(ptdev, wr_value & PCI_COMMAND_IO,
@@ -2988,8 +2917,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* check whether we need to update the virtual region address or not */ switch (ptdev->bases[index].bar_flag)
@@ -3007,7 +2935,8 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,if ((last_addr >=0x10000 ) && (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask))) { - PT_LOG("Guest attempt to set Base Address over the 64KB. " + PT_LOG("Warning: Guest attempt to set Base Address " + "over the 64KB. " "[%02x:%02x.%x][Offset:%02xh][Address:%08xh][Size:%08xh]\n", pci_bus_num(d->bus), ((d->devfn >> 3) & 0x1F), (d->devfn & 0x7),
@@ -3023,7 +2952,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, {if (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask)) { - PT_LOG("Guest attempt to set high MMIO Base Address. " + PT_LOG("Warning: Guest attempt to set high MMIO Base Address. " "Ignore mapping. " "[%02x:%02x.%x][Offset:%02xh][High Address:%08xh]\n", pci_bus_num(d->bus),
@@ -3066,8 +2995,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, exit:/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3099,16 +3027,14 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the corresponding virtual region address */ r->addr = cfg_entry->data;/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3122,22 +3048,16 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,PCIDevice *d = &ptdev->dev;uint16_t writable_mask =0 ;uint16_t throughable_mask =0 ; -uint16_t pmcsr_mask = (PCI_PM_CTRL_PME_ENABLE | -PCI_PM_CTRL_DATA_SEL_MASK | -PCI_PM_CTRL_PME_STATUS );struct pt_pm_info *pm_state = ptdev->pm_state;uint16_t read_val =0 ;/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~pmcsr_mask; - - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* set I/O device power state */ pm_state->cur_state = (dev_value &PCI_PM_CTRL_STATE_MASK );
@@ -3236,101 +3156,6 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,return 0 ; } -/* write Device Control register */ -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl_mask = (PCI_EXP_DEVCTL_AUX_PME |0x8000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control register */ -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl_mask = (0x04 |PCI_EXP_LNKCTL_DISABLE | -PCI_EXP_LNKCTL_RETRAIN | -0x0400 |0x0800 |0xF000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~linkctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Device Control2 register */ -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl2_mask =0xFFE0 ; - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control2 register */ -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl2_mask = (0x0040 |0xE000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & - ~linkctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} -/* write Message Control register */ static int pt_msgctrl_reg_write(struct pt_dev *ptdev, struct pt_reg_tbl *cfg_entry,
@@ -3346,22 +3171,19 @@ static int pt_msgctrl_reg_write(struct pt_dev *ptdev,/* Currently no support for multi-vector */ if ((*value &PCI_MSI_FLAGS_QSIZE ) !=0x0 ) -PT_LOG ("try to set more than 1 vector ctrl %x\n" , *value); +PT_LOG ("Warning: try to set more than 1 vector ctrl %x\n" , *value);/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->flags |= cfg_entry->data & ~(MSI_FLAG_UNINIT |PT_MSI_MAPPED |PCI_MSI_FLAGS_ENABLE ); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ val = *value; throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (val &PCI_MSI_FLAGS_ENABLE )
@@ -3420,16 +3242,13 @@ static int pt_msgaddr32_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_lo = cfg_entry->data; -PT_LOG ("old_addr_lo:%08xh new_addr_lo:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3455,22 +3274,19 @@ static int pt_msgaddr64_reg_write(struct pt_dev *ptdev,if (!(ptdev->msi->flags &PCI_MSI_FLAGS_64BIT )) {/* exit I/O emulator */ -PT_LOG ("why comes to Upper Address without 64 bit support??\n" ); +PT_LOG ("Error: why comes to Upper Address without 64 bit support??\n" );return -1 ; }/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_hi = cfg_entry->data; -PT_LOG ("old_addr_hi:%08xh new_addr_hi:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3506,16 +3322,13 @@ static int pt_msgdata_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->data = cfg_entry->data; -PT_LOG ("old_data:%04xh new_data:%04xh\n" , old_data, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_data)
@@ -3539,14 +3352,11 @@ static int pt_msixctrl_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI-X */ if ((*value &PCI_MSIX_ENABLE ) && !(*value &PCI_MSIX_MASK ))
@@ -3979,7 +3789,7 @@ int pt_init(PCIBus *e_bus, const char *direct_pci) pci_access =pci_alloc ();if ( pci_access ==NULL ) { -PT_LOG ("pci_access is NULL\n" ); +PT_LOG ("Error: pci_access is NULL\n" );return -1 ; }pci_init (pci_access);
hw/pass-through.h +20 -0
@@ -86,6 +86,26 @@#define PCI_EXP_TYPE_ROOT_EC 0xa#endif +#ifndef PCI_ERR_UNCOR_MASK +/* Uncorrectable Error Mask */ +#define PCI_ERR_UNCOR_MASK 8 +#endif + +#ifndef PCI_ERR_UNCOR_SEVER +/* Uncorrectable Error Severity */ +#define PCI_ERR_UNCOR_SEVER 12 +#endif + +#ifndef PCI_ERR_COR_MASK +/* Correctable Error Mask */ +#define PCI_ERR_COR_MASK 20 +#endif + +#ifndef PCI_ERR_CAP +/* Advanced Error Capabilities */ +#define PCI_ERR_CAP 24 +#endif +#ifndef PCI_EXT_CAP_ID /* Extended Capabilities (PCI-X 2.0 and PCI Express) */ #define PCI_EXT_CAP_ID (header) (header & 0x0000ffff)
hw/pt-msi.c +19 -19
@@ -68,7 +68,7 @@ int pt_msi_setup(struct pt_dev *dev)if ( !(dev->msi->flags &MSI_FLAG_UNINIT ) ) { -PT_LOG ("setup physical after initialized?? \n" ); +PT_LOG ("Error: setup physical after initialized?? \n" );return -1 ; }
@@ -76,13 +76,13 @@ int pt_msi_setup(struct pt_dev *dev) dev->pci_dev->dev << 3 | dev->pci_dev->func, dev->pci_dev->bus, 0, 0) ) { -PT_LOG ("error map msi\n" ); +PT_LOG ("Error: Mapping of MSI failed.\n" );return -1 ; }if ( pirq <0 ) { -PT_LOG ("invalid pirq number\n" ); +PT_LOG ("Error: Invalid pirq number\n" );return -1 ; }
@@ -125,7 +125,7 @@ int pt_msi_update(struct pt_dev *d) addr = (uint64_t )d->msi->addr_hi <<32 | d->msi->addr_lo; gflags =__get_msi_gflags (d->msi->data, addr); -PT_LOG ("now update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec); +PT_LOG ("Update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec);return xc_domain_update_msi_irq (xc_handle, domid, gvec, d->msi->pirq, gflags); }
@@ -295,19 +295,19 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr) dev->msix->table_base);if ( ret ) { -PT_LOG ("error map msix entry %x\n" , entry_nr); +PT_LOG ("Error: Mapping msix entry %x\n" , entry_nr);return ret; } entry->pirq = pirq; } -PT_LOG ("now update msix entry %x with pirq %x gvec %x\n" , +PT_LOG ("Update msix entry %x with pirq %x gvec %x\n" , entry_nr, pirq, gvec); ret =xc_domain_update_msi_irq (xc_handle, domid, gvec, pirq, gflags);if ( ret ) { -PT_LOG ("error update msix irq info for entry %d\n" , entry_nr); +PT_LOG ("Error: Updating msix irq info for entry %d\n" , entry_nr);return ret; }
@@ -378,7 +378,7 @@ void pt_msix_disable(struct pt_dev *dev)static void pci_msix_invalid_write (void *opaque,target_phys_addr_t addr,uint32_t val) { -PT_LOG ("invalid write to MSI-X table, \ +PT_LOG ("Error: Invalid write to MSI-X table, \ only dword access is allowed.\n" ); }
@@ -391,8 +391,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return ; }
@@ -402,8 +402,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( offset !=3 && msix->enabled && !(entry->io_mem[3 ] &0x1 ) ) { -PT_LOG ("can not update msix entry %d since MSI-X is already \ -function now.\n" , entry_nr); +PT_LOG ("Error: Can't update msix entry %d since MSI-X is already \ +function.\n" , entry_nr);return ; }
@@ -427,7 +427,7 @@ static CPUWriteMemoryFunc *pci_msix_write[] = {static uint32_t pci_msix_invalid_read (void *opaque,target_phys_addr_t addr) { -PT_LOG ("invalid read to MSI-X table, \ +PT_LOG ("Error: Invalid read to MSI-X table, \ only dword access is allowed.\n" );return 0 ; }
@@ -440,8 +440,8 @@ static uint32_t pci_msix_readl(void *opaque, target_phys_addr_t addr)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return 0 ; }
@@ -504,7 +504,7 @@ int pt_msix_init(struct pt_dev *dev, int pos)if ( id !=PCI_CAP_ID_MSIX ) { -PT_LOG ("error id %x pos %x\n" , id, pos); +PT_LOG ("Error: Invalid id %x pos %x\n" , id, pos);return -1 ; }
@@ -516,7 +516,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) + total_entries*sizeof(struct msix_entry_info));if ( !dev->msix ) { -PT_LOG ("error allocation pt_msix_info\n" ); +PT_LOG ("Error: Allocating pt_msix_info failed.\n" );return -1 ; } memset(dev->msix, 0, sizeof(struct pt_msix_info)
@@ -538,7 +538,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd =open ("/dev/mem" ,O_RDWR );if ( fd ==-1 ) { -PT_LOG ("Can't open /dev/mem: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't open /dev/mem: %s\n" ,strerror (errno)); goto error_out; } dev->msix->phys_iomem_base = mmap(0, total_entries * 16,
@@ -546,7 +546,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd, dev->msix->table_base + table_off);if ( dev->msix->phys_iomem_base ==MAP_FAILED ) { -PT_LOG ("Can't map physical MSI-X table: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't map physical MSI-X table: %s\n" ,strerror (errno));close (fd); goto error_out; }
Yuji Shimada writes ("[PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 1 line
This patch cleanups the code of PCI passthrough.
Thanks but this doesn't apply to the current qemu-xen-unstable head (commit 200a4ece52fa37d6b884b52c47e3d56b9c1c7563)
Some of these changes, for example this one:
Quoted 1 line
- Use
LIST_FOREACH(). Don't uselh_first,le_nextdirectly.
seem to have been applied already for example in8c771eb6294afc5b3754a9e3de51568d4e5986c2
Can you refresh and resend the patch, please ?
Thanks,
Ian.
Quoted 6 lines · On Thu, 19 Feb 2009 17:13:42 +0000 Ian Jackson <[email protected]>…
Yuji Shimada writes ("[PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 1 line
This patch cleanups the code of PCI passthrough.
Thanks but this doesn't apply to the current qemu-xen-unstable head (commit
200a4ece52fa37d6b884b52c47e3d56b9c1c7563)
Quoted 6 lines
Some of these changes, for example this one:
Quoted 1 line
- Use
LIST_FOREACH(). Don't uselh_first,le_nextdirectly.seem to have been applied already for example in
8c771eb6294afc5b3754a9e3de51568d4e5986c2Can you refresh and resend the patch, please ?
My patch was created for commit 200a4ece52fa37d6b884b52c47e3d56b9c1c7563. But I found the patch has a trailing whitespace. This might prevent the patch from applying. I removed a trailing whitespace from the patch and attach it to this mail.
If the patch doesn't apply to the current qemu-xen-unstable head, Could you send error messages?
The patch cleanups the code of PCI passthrough.
- Use LIST_FOREACH(). Don't use lh_first, le_next directly.
- Use pci_{read, write}_block instead of "switch(len) case [124] pci_{read, write}_{byte, word, long}();".
- Eliminate duplicate codes using PT_MEARGE_VALUE macro.
- Define PCI_ERR_* macro in pass-through.h if libpci is old.
- Remove the unreasonable loop from pt_aer_reg_{save,restore}.
- Enable pt_aer_reg_{save,restore}, even if libpci is old.
- Fix ro_mask and remove unnecessary pt_xxx_reg_write functions.
- Add "Error:" or "Warning:" to messages.
- Remove verbose messages.
Thanks,
--
Yuji Shimada.
hw/pass-through.c +114 -310
@@ -126,18 +126,6 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,static int pt_pmcsr_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask);static int pt_msgctrl_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask);
@@ -413,7 +401,7 @@ static struct pt_reg_info_tbl pt_emu_reg_pm_tbl[] = { .offset = PCI_PM_CTRL, .size = 2, .init_val = 0x0008, - .ro_mask = 0x60FC, + .ro_mask = 0xE1FC, .emu_mask = 0x8100, .init = pt_pmcsr_reg_init, .u.w.read = pt_word_reg_read,
@@ -494,11 +482,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_DEVCTL, .size = 2, .init_val = 0x2810, - .ro_mask = 0x0000, + .ro_mask = 0x8400, .emu_mask = 0xFFFF, .init = pt_common_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control reg */
@@ -506,11 +494,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_LNKCTL, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFC34, .emu_mask = 0xFFFF, .init = pt_linkctrl_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Device Control 2 reg */
@@ -518,11 +506,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x28, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFFE0, .emu_mask = 0xFFFF, .init = pt_devctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control 2 reg */
@@ -530,11 +518,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x30, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xE040, .emu_mask = 0xFFFF, .init = pt_linkctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, }, {
@@ -1051,8 +1039,7 @@ struct pt_reg_grp_tbl* pt_find_reg_grp(struct pt_reg_grp_tbl * reg_grp_entry =NULL ;/* find register group entry */ -for (reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first; reg_grp_entry; - reg_grp_entry = reg_grp_entry->entries.le_next) + LIST_FOREACH(reg_grp_entry, &ptdev->reg_grp_tbl_head, entries) {/* check address */ if ((reg_grp_entry->base_offset <= address) &&
@@ -1075,8 +1062,7 @@ struct pt_reg_tbl* pt_find_reg(uint32_t real_offset =0 ;/* find register entry */ -for (reg_entry = reg_grp->reg_tbl_head.lh_first; reg_entry; - reg_entry = reg_entry->entries.le_next) + LIST_FOREACH(reg_entry, ®_grp->reg_tbl_head, entries) { reg = reg_entry->reg; real_offset = (reg_grp->base_offset + reg->offset);
@@ -1140,7 +1126,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to write register with offset exceeding FFh. " +PT_LOG ("Error: Failed to write register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1150,7 +1136,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check write size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to write register with invalid access length. " +PT_LOG ("Error: Failed to write register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1160,8 +1146,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to write register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to write register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1172,8 +1158,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if ((index >=0 ) && (val >0 && val <PT_BAR_ALLF ) && (assigned_device->bases[index].bar_flag ==PT_BAR_FLAG_UNUSED )) { -PT_LOG ("Guest attempt to set address to unused Base Address Register. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Warning: Guest attempt to set address to unused Base Address " +"Register. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); }
@@ -1194,7 +1180,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if (reg_grp->grp_type ==GRP_TYPE_HARDWIRED ) {/* ignore silently */ -PT_LOG ("Access to 0 Hardwired register. " +PT_LOG ("Warning: Access to 0 Hardwired register. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1203,28 +1189,14 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, }/* read I/O device register value */ -switch (len) { -case 1 : - read_val =pci_read_byte (pci_dev, address); -break ; -case 2 : - read_val =pci_read_word (pci_dev, address); -break ; -case 4 : - read_val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&read_val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((read_val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&read_val,0xff , len); } - +/* pass directly to libpci for passthrough type register group */ if (reg_grp_entry ==NULL ) goto out;
@@ -1303,17 +1277,10 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, val >>= ((address &3 ) <<3 ); out: -switch (len){ -case 1 : -pci_write_byte (pci_dev, address, val); -break ; -case 2 : -pci_write_word (pci_dev, address, val); -break ; -case 4 : -pci_write_long (pci_dev, address, val); -break ; - } + ret =pci_write_block (pci_dev, address, (uint8_t *)&val, len); + +if (!ret) +PT_LOG ("Error: pci_write_block failed. return value[%d].\n" , ret);if (pm_state->flags &PT_FLAG_TRANSITING )/* set QEMUTimer */
@@ -1329,7 +1298,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)struct pt_dev *assigned_device = (struct pt_dev *)d;struct pci_dev *pci_dev = assigned_device->pci_dev;struct pt_pm_info *pm_state = assigned_device->pm_state; -uint32_t val =0xFFFFFFFF ; +uint32_t val =0 ;struct pt_reg_grp_tbl *reg_grp_entry =NULL ;struct pt_reg_grp_info_tbl *reg_grp =NULL ;struct pt_reg_tbl *reg_entry =NULL ;
@@ -1344,7 +1313,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to read register with offset exceeding FFh. " +PT_LOG ("Error: Failed to read register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1354,7 +1323,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check read size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to read register with invalid access length. " +PT_LOG ("Error: Failed to read register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1364,8 +1333,8 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to read register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to read register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1393,26 +1362,12 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len) }/* read I/O device register value */ -switch (len) { -case 1 : - val =pci_read_byte (pci_dev, address); -break ; -case 2 : - val =pci_read_word (pci_dev, address); -break ; -case 4 : - val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&val,0xff , len); }/* just return the I/O device register value for
@@ -1514,7 +1471,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) fp =fopen (path,"r" );if ( !fp ) { -PT_LOG ("Can't open %s: %s\n" , path,strerror (errno)); +PT_LOG ("Error: Can't open %s: %s\n" , path,strerror (errno));return ; }
@@ -1522,7 +1479,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) {if (fscanf (fp,"%llx %llx %llx" , &start, &end, &flags) !=3 ) { -PT_LOG ("Syntax error in %s\n" , path); +PT_LOG ("Error: Syntax error in %s\n" , path);break ; }
@@ -1800,8 +1757,8 @@ static void pt_bar_mapping(struct pt_dev *ptdev, int io_enable, int mem_enable)/* check overlapped address */ ret =pt_chk_bar_overlap (dev->bus, dev->devfn, r_addr, r_size);if (ret >0 ) -PT_LOG ("ptdev[%02x:%02x.%x][Region:%d][Address:%08xh][Size:%08xh] " -"is overlapped.\n" ,pci_bus_num (dev->bus), +PT_LOG ("Warning: ptdev[%02x:%02x.%x][Region:%d][Address:%08xh]" +"[Size:%08xh] is overlapped.\n" ,pci_bus_num (dev->bus), (dev->devfn >>3 ) &0x1F , (dev->devfn &0x7 ), i, r_addr, r_size);
@@ -1841,68 +1798,51 @@ int check_power_state(struct pt_dev *ptdev)return 0 ; } -/* save AER register */ -static void pt_aer_reg_save (struct pt_dev *ptdev) +/* save AER one register */ +static void aer_save_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* after reset, following register values should be restored. -* So, save them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - *(uint32_t *)(d->config + (aer_base + i)) - =pci_read_long (ptdev->pci_dev, (aer_base + i)); -break ; -default : -break ; - } - } -#endif + *(uint32_t *)(d->config + (aer_base + offset)) + =pci_read_long (ptdev->pci_dev, (aer_base + offset)); } -/* restore AER register */ -static void pt_aer_reg_restore (struct pt_dev *ptdev) +/* save AER registers */ +static void pt_aer_reg_save (struct pt_dev *ptdev) +{ +/* after reset, following register values should be restored. +* So, save them. +*/ +aer_save_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_save_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_CAP ); +} + +/* restore AER one register */ +static void aer_restore_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ;uint32_t config =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* the following registers should be reconfigured to correct values -* after reset. restore them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - config = *(uint32_t *)(d->config + (aer_base + i)); -pci_write_long (ptdev->pci_dev, (aer_base + i), config); -break ; -/* other registers should not be reconfigured after reset -* if there is no reason -*/ -default : -break ; - } - } -#endif + config = *(uint32_t *)(d->config + (aer_base + offset)); +pci_write_long (ptdev->pci_dev, (aer_base + offset), config); +} + +/* restore AER registers */ +static void pt_aer_reg_restore (struct pt_dev *ptdev) +{ +/* the following registers should be reconfigured to correct values +* after reset. restore them. +* other registers should not be reconfigured after reset +* if there is no reason +*/ +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_restore_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_CAP ); }/* reset Interrupt and I/O resource */
@@ -2115,7 +2055,7 @@ static int pt_config_reg_init(struct pt_dev *ptdev, reg_entry =qemu_mallocz (sizeof (struct pt_reg_tbl ));if (reg_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2171,7 +2111,7 @@ static int pt_config_init(struct pt_dev *ptdev) reg_grp_entry =qemu_mallocz (sizeof (struct pt_reg_grp_tbl ));if (reg_grp_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2239,10 +2179,10 @@ static void pt_config_delete(struct pt_dev *ptdev) }/* free all register group entry */ -while ((reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first) !=NULL ) +while ((reg_grp_entry =LIST_FIRST (&ptdev->reg_grp_tbl_head)) !=NULL ) {/* free all register entry */ -while ((reg_entry = reg_grp_entry->reg_tbl_head.lh_first) !=NULL ) +while ((reg_entry =LIST_FIRST (®_grp_entry->reg_tbl_head)) !=NULL ) {LIST_REMOVE (reg_entry, entries);qemu_free (reg_entry);
@@ -2624,7 +2564,7 @@ static uint8_t pt_msi_size_init(struct pt_dev *ptdev,if ( !ptdev->msi ) {/* exit I/O emulator */ -PT_LOG ("error allocation pt_msi_info. I/O emulator exit.\n" ); +PT_LOG ("Error: Allocating pt_msi_info failed. I/O emulator exit.\n" );exit (1 ); }memset (ptdev->msi,0 ,sizeof (struct pt_msi_info ));
@@ -2754,8 +2694,7 @@ static int pt_byte_reg_read(struct pt_dev *ptdev,/* emulate byte register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2770,8 +2709,7 @@ static int pt_word_reg_read(struct pt_dev *ptdev,/* emulate word register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2786,8 +2724,7 @@ static int pt_long_reg_read(struct pt_dev *ptdev,/* emulate long register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2833,8 +2770,7 @@ static int pt_bar_reg_read(struct pt_dev *ptdev,/* emulate BAR */ valid_emu_mask = bar_emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2850,13 +2786,11 @@ static int pt_byte_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2872,13 +2806,11 @@ static int pt_word_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2894,13 +2826,11 @@ static int pt_long_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2917,12 +2847,11 @@ static int pt_cmd_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* mapping BAR */ pt_bar_mapping(ptdev, wr_value & PCI_COMMAND_IO,
@@ -2988,8 +2917,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* check whether we need to update the virtual region address or not */ switch (ptdev->bases[index].bar_flag)
@@ -3007,7 +2935,8 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,if ((last_addr >=0x10000 ) && (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask))) { - PT_LOG("Guest attempt to set Base Address over the 64KB. " + PT_LOG("Warning: Guest attempt to set Base Address " + "over the 64KB. " "[%02x:%02x.%x][Offset:%02xh][Address:%08xh][Size:%08xh]\n", pci_bus_num(d->bus), ((d->devfn >> 3) & 0x1F), (d->devfn & 0x7),
@@ -3023,7 +2952,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, {if (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask)) { - PT_LOG("Guest attempt to set high MMIO Base Address. " + PT_LOG("Warning: Guest attempt to set high MMIO Base Address. " "Ignore mapping. " "[%02x:%02x.%x][Offset:%02xh][High Address:%08xh]\n", pci_bus_num(d->bus),
@@ -3066,8 +2995,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, exit:/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3099,16 +3027,14 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the corresponding virtual region address */ r->addr = cfg_entry->data;/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3122,22 +3048,16 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,PCIDevice *d = &ptdev->dev;uint16_t writable_mask =0 ;uint16_t throughable_mask =0 ; -uint16_t pmcsr_mask = (PCI_PM_CTRL_PME_ENABLE | -PCI_PM_CTRL_DATA_SEL_MASK | -PCI_PM_CTRL_PME_STATUS );struct pt_pm_info *pm_state = ptdev->pm_state;uint16_t read_val =0 ;/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~pmcsr_mask; - - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* set I/O device power state */ pm_state->cur_state = (dev_value &PCI_PM_CTRL_STATE_MASK );
@@ -3236,101 +3156,6 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,return 0 ; } -/* write Device Control register */ -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl_mask = (PCI_EXP_DEVCTL_AUX_PME |0x8000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control register */ -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl_mask = (0x04 |PCI_EXP_LNKCTL_DISABLE | -PCI_EXP_LNKCTL_RETRAIN | -0x0400 |0x0800 |0xF000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~linkctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Device Control2 register */ -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl2_mask =0xFFE0 ; - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control2 register */ -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl2_mask = (0x0040 |0xE000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & - ~linkctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} -/* write Message Control register */ static int pt_msgctrl_reg_write(struct pt_dev *ptdev, struct pt_reg_tbl *cfg_entry,
@@ -3346,22 +3171,19 @@ static int pt_msgctrl_reg_write(struct pt_dev *ptdev,/* Currently no support for multi-vector */ if ((*value &PCI_MSI_FLAGS_QSIZE ) !=0x0 ) -PT_LOG ("try to set more than 1 vector ctrl %x\n" , *value); +PT_LOG ("Warning: try to set more than 1 vector ctrl %x\n" , *value);/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->flags |= cfg_entry->data & ~(MSI_FLAG_UNINIT |PT_MSI_MAPPED |PCI_MSI_FLAGS_ENABLE ); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ val = *value; throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (val &PCI_MSI_FLAGS_ENABLE )
@@ -3420,16 +3242,13 @@ static int pt_msgaddr32_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_lo = cfg_entry->data; -PT_LOG ("old_addr_lo:%08xh new_addr_lo:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3455,22 +3274,19 @@ static int pt_msgaddr64_reg_write(struct pt_dev *ptdev,if (!(ptdev->msi->flags &PCI_MSI_FLAGS_64BIT )) {/* exit I/O emulator */ -PT_LOG ("why comes to Upper Address without 64 bit support??\n" ); +PT_LOG ("Error: why comes to Upper Address without 64 bit support??\n" );return -1 ; }/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_hi = cfg_entry->data; -PT_LOG ("old_addr_hi:%08xh new_addr_hi:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3506,16 +3322,13 @@ static int pt_msgdata_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->data = cfg_entry->data; -PT_LOG ("old_data:%04xh new_data:%04xh\n" , old_data, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_data)
@@ -3539,14 +3352,11 @@ static int pt_msixctrl_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI-X */ if ((*value &PCI_MSIX_ENABLE ) && !(*value &PCI_MSIX_MASK ))
@@ -3979,7 +3789,7 @@ int pt_init(PCIBus *e_bus, const char *direct_pci) pci_access =pci_alloc ();if ( pci_access ==NULL ) { -PT_LOG ("pci_access is NULL\n" ); +PT_LOG ("Error: pci_access is NULL\n" );return -1 ; }pci_init (pci_access);
hw/pass-through.h +20 -0
@@ -86,6 +86,26 @@#define PCI_EXP_TYPE_ROOT_EC 0xa#endif +#ifndef PCI_ERR_UNCOR_MASK +/* Uncorrectable Error Mask */ +#define PCI_ERR_UNCOR_MASK 8 +#endif + +#ifndef PCI_ERR_UNCOR_SEVER +/* Uncorrectable Error Severity */ +#define PCI_ERR_UNCOR_SEVER 12 +#endif + +#ifndef PCI_ERR_COR_MASK +/* Correctable Error Mask */ +#define PCI_ERR_COR_MASK 20 +#endif + +#ifndef PCI_ERR_CAP +/* Advanced Error Capabilities */ +#define PCI_ERR_CAP 24 +#endif +#ifndef PCI_EXT_CAP_ID /* Extended Capabilities (PCI-X 2.0 and PCI Express) */ #define PCI_EXT_CAP_ID (header) (header & 0x0000ffff)
hw/pt-msi.c +19 -19
@@ -68,7 +68,7 @@ int pt_msi_setup(struct pt_dev *dev)if ( !(dev->msi->flags &MSI_FLAG_UNINIT ) ) { -PT_LOG ("setup physical after initialized?? \n" ); +PT_LOG ("Error: setup physical after initialized?? \n" );return -1 ; }
@@ -76,13 +76,13 @@ int pt_msi_setup(struct pt_dev *dev) dev->pci_dev->dev << 3 | dev->pci_dev->func, dev->pci_dev->bus, 0, 0) ) { -PT_LOG ("error map msi\n" ); +PT_LOG ("Error: Mapping of MSI failed.\n" );return -1 ; }if ( pirq <0 ) { -PT_LOG ("invalid pirq number\n" ); +PT_LOG ("Error: Invalid pirq number\n" );return -1 ; }
@@ -125,7 +125,7 @@ int pt_msi_update(struct pt_dev *d) addr = (uint64_t )d->msi->addr_hi <<32 | d->msi->addr_lo; gflags =__get_msi_gflags (d->msi->data, addr); -PT_LOG ("now update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec); +PT_LOG ("Update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec);return xc_domain_update_msi_irq (xc_handle, domid, gvec, d->msi->pirq, gflags); }
@@ -295,19 +295,19 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr) dev->msix->table_base);if ( ret ) { -PT_LOG ("error map msix entry %x\n" , entry_nr); +PT_LOG ("Error: Mapping msix entry %x\n" , entry_nr);return ret; } entry->pirq = pirq; } -PT_LOG ("now update msix entry %x with pirq %x gvec %x\n" , +PT_LOG ("Update msix entry %x with pirq %x gvec %x\n" , entry_nr, pirq, gvec); ret =xc_domain_update_msi_irq (xc_handle, domid, gvec, pirq, gflags);if ( ret ) { -PT_LOG ("error update msix irq info for entry %d\n" , entry_nr); +PT_LOG ("Error: Updating msix irq info for entry %d\n" , entry_nr);return ret; }
@@ -378,7 +378,7 @@ void pt_msix_disable(struct pt_dev *dev)static void pci_msix_invalid_write (void *opaque,target_phys_addr_t addr,uint32_t val) { -PT_LOG ("invalid write to MSI-X table, \ +PT_LOG ("Error: Invalid write to MSI-X table, \ only dword access is allowed.\n" ); }
@@ -391,8 +391,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return ; }
@@ -402,8 +402,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( offset !=3 && msix->enabled && !(entry->io_mem[3 ] &0x1 ) ) { -PT_LOG ("can not update msix entry %d since MSI-X is already \ -function now.\n" , entry_nr); +PT_LOG ("Error: Can't update msix entry %d since MSI-X is already \ +function.\n" , entry_nr);return ; }
@@ -427,7 +427,7 @@ static CPUWriteMemoryFunc *pci_msix_write[] = {static uint32_t pci_msix_invalid_read (void *opaque,target_phys_addr_t addr) { -PT_LOG ("invalid read to MSI-X table, \ +PT_LOG ("Error: Invalid read to MSI-X table, \ only dword access is allowed.\n" );return 0 ; }
@@ -440,8 +440,8 @@ static uint32_t pci_msix_readl(void *opaque, target_phys_addr_t addr)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return 0 ; }
@@ -504,7 +504,7 @@ int pt_msix_init(struct pt_dev *dev, int pos)if ( id !=PCI_CAP_ID_MSIX ) { -PT_LOG ("error id %x pos %x\n" , id, pos); +PT_LOG ("Error: Invalid id %x pos %x\n" , id, pos);return -1 ; }
@@ -516,7 +516,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) + total_entries*sizeof(struct msix_entry_info));if ( !dev->msix ) { -PT_LOG ("error allocation pt_msix_info\n" ); +PT_LOG ("Error: Allocating pt_msix_info failed.\n" );return -1 ; } memset(dev->msix, 0, sizeof(struct pt_msix_info)
@@ -538,7 +538,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd =open ("/dev/mem" ,O_RDWR );if ( fd ==-1 ) { -PT_LOG ("Can't open /dev/mem: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't open /dev/mem: %s\n" ,strerror (errno)); goto error_out; } dev->msix->phys_iomem_base = mmap(0, total_entries * 16,
@@ -546,7 +546,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd, dev->msix->table_base + table_off);if ( dev->msix->phys_iomem_base ==MAP_FAILED ) { -PT_LOG ("Can't map physical MSI-X table: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't map physical MSI-X table: %s\n" ,strerror (errno));close (fd); goto error_out; }
Quoted 16 lines · On Fri, 20 Feb 2009 13:55:06 +0900 Yuji Shimada <[email protected]>…
Quoted 6 lines · On Thu, 19 Feb 2009 17:13:42 +0000 Ian Jackson <[email protected]>…
Yuji Shimada writes ("[PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 1 line
This patch cleanups the code of PCI passthrough.
Thanks but this doesn't apply to the current qemu-xen-unstable head (commit
200a4ece52fa37d6b884b52c47e3d56b9c1c7563)Quoted 6 lines
Some of these changes, for example this one:
Quoted 1 line
- Use
LIST_FOREACH(). Don't uselh_first,le_nextdirectly.seem to have been applied already for example in
8c771eb6294afc5b3754a9e3de51568d4e5986c2Can you refresh and resend the patch, please ?
Quoted 7 lines
My patch was created for commit
200a4ece52fa37d6b884b52c47e3d56b9c1c7563. But I found the patch has a trailing whitespace. This might prevent the patch from applying. I removed a trailing whitespace from the patch and attach it to this mail.If the patch doesn't apply to the current qemu-xen-unstable head, Could you send error messages?
I found "git apply" command did not apply my patch, while "patch" command applied it. I re-created my patch, and I tested that "git apply" command applied it. I attach it to this mail. Could you try to apply it?
The patch cleanups the code of PCI passthrough.
- Use LIST_FOREACH(). Don't use lh_first, le_next directly.
- Use pci_{read, write}_block instead of "switch(len) case [124] pci_{read, write}_{byte, word, long}();".
- Eliminate duplicate codes using PT_MEARGE_VALUE macro.
- Define PCI_ERR_* macro in pass-through.h if libpci is old.
- Remove the unreasonable loop from pt_aer_reg_{save,restore}.
- Enable pt_aer_reg_{save,restore}, even if libpci is old.
- Fix ro_mask and remove unnecessary pt_xxx_reg_write functions.
- Add "Error:" or "Warning:" to messages.
- Remove verbose messages.
Thanks,
--
Yuji Shimada.
hw/pass-through.c +114 -310
@@ -126,18 +126,6 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,static int pt_pmcsr_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask); -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask);static int pt_msgctrl_reg_write (struct pt_dev *ptdev,struct pt_reg_tbl *cfg_entry,uint16_t *value,uint16_t dev_value,uint16_t valid_mask);
@@ -413,7 +401,7 @@ static struct pt_reg_info_tbl pt_emu_reg_pm_tbl[] = { .offset = PCI_PM_CTRL, .size = 2, .init_val = 0x0008, - .ro_mask = 0x60FC, + .ro_mask = 0xE1FC, .emu_mask = 0x8100, .init = pt_pmcsr_reg_init, .u.w.read = pt_word_reg_read,
@@ -494,11 +482,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_DEVCTL, .size = 2, .init_val = 0x2810, - .ro_mask = 0x0000, + .ro_mask = 0x8400, .emu_mask = 0xFFFF, .init = pt_common_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control reg */
@@ -506,11 +494,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = PCI_EXP_LNKCTL, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFC34, .emu_mask = 0xFFFF, .init = pt_linkctrl_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Device Control 2 reg */
@@ -518,11 +506,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x28, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xFFE0, .emu_mask = 0xFFFF, .init = pt_devctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_devctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, },/* Link Control 2 reg */
@@ -530,11 +518,11 @@ static struct pt_reg_info_tbl pt_emu_reg_pcie_tbl[] = { .offset = 0x30, .size = 2, .init_val = 0x0000, - .ro_mask = 0x0000, + .ro_mask = 0xE040, .emu_mask = 0xFFFF, .init = pt_linkctrl2_reg_init, .u.w.read = pt_word_reg_read, - .u.w.write = pt_linkctrl2_reg_write, + .u.w.write = pt_word_reg_write, .u.w.restore = pt_word_reg_restore, }, {
@@ -1051,8 +1039,7 @@ struct pt_reg_grp_tbl* pt_find_reg_grp(struct pt_reg_grp_tbl * reg_grp_entry =NULL ;/* find register group entry */ -for (reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first; reg_grp_entry; - reg_grp_entry = reg_grp_entry->entries.le_next) + LIST_FOREACH(reg_grp_entry, &ptdev->reg_grp_tbl_head, entries) {/* check address */ if ((reg_grp_entry->base_offset <= address) &&
@@ -1075,8 +1062,7 @@ struct pt_reg_tbl* pt_find_reg(uint32_t real_offset =0 ;/* find register entry */ -for (reg_entry = reg_grp->reg_tbl_head.lh_first; reg_entry; - reg_entry = reg_entry->entries.le_next) + LIST_FOREACH(reg_entry, ®_grp->reg_tbl_head, entries) { reg = reg_entry->reg; real_offset = (reg_grp->base_offset + reg->offset);
@@ -1140,7 +1126,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to write register with offset exceeding FFh. " +PT_LOG ("Error: Failed to write register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1150,7 +1136,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check write size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to write register with invalid access length. " +PT_LOG ("Error: Failed to write register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1160,8 +1146,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to write register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to write register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1172,8 +1158,8 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if ((index >=0 ) && (val >0 && val <PT_BAR_ALLF ) && (assigned_device->bases[index].bar_flag ==PT_BAR_FLAG_UNUSED )) { -PT_LOG ("Guest attempt to set address to unused Base Address Register. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Warning: Guest attempt to set address to unused Base Address " +"Register. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); }
@@ -1194,7 +1180,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,if (reg_grp->grp_type ==GRP_TYPE_HARDWIRED ) {/* ignore silently */ -PT_LOG ("Access to 0 Hardwired register. " +PT_LOG ("Warning: Access to 0 Hardwired register. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1203,28 +1189,14 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, }/* read I/O device register value */ -switch (len) { -case 1 : - read_val =pci_read_byte (pci_dev, address); -break ; -case 2 : - read_val =pci_read_word (pci_dev, address); -break ; -case 4 : - read_val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&read_val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((read_val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&read_val,0xff , len); } - +/* pass directly to libpci for passthrough type register group */ if (reg_grp_entry ==NULL ) goto out;
@@ -1303,17 +1275,10 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val, val >>= ((address &3 ) <<3 ); out: -switch (len){ -case 1 : -pci_write_byte (pci_dev, address, val); -break ; -case 2 : -pci_write_word (pci_dev, address, val); -break ; -case 4 : -pci_write_long (pci_dev, address, val); -break ; - } + ret =pci_write_block (pci_dev, address, (uint8_t *)&val, len); + +if (!ret) +PT_LOG ("Error: pci_write_block failed. return value[%d].\n" , ret);if (pm_state->flags &PT_FLAG_TRANSITING )/* set QEMUTimer */
@@ -1329,7 +1294,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)struct pt_dev *assigned_device = (struct pt_dev *)d;struct pci_dev *pci_dev = assigned_device->pci_dev;struct pt_pm_info *pm_state = assigned_device->pm_state; -uint32_t val =0xFFFFFFFF ; +uint32_t val =0 ;struct pt_reg_grp_tbl *reg_grp_entry =NULL ;struct pt_reg_grp_info_tbl *reg_grp =NULL ;struct pt_reg_tbl *reg_entry =NULL ;
@@ -1344,7 +1309,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset range */ if (address >=0xFF ) { -PT_LOG ("Failed to read register with offset exceeding FFh. " +PT_LOG ("Error: Failed to read register with offset exceeding FFh. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1354,7 +1319,7 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check read size */ if ((len !=1 ) && (len !=2 ) && (len !=4 )) { -PT_LOG ("Failed to read register with invalid access length. " +PT_LOG ("Error: Failed to read register with invalid access length. " "[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len);
@@ -1364,8 +1329,8 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len)/* check offset alignment */ if (address & (len-1 )) { -PT_LOG ("Failed to read register with invalid access size alignment. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , +PT_LOG ("Error: Failed to read register with invalid access size " +"alignment. [%02x:%02x.%x][Offset:%02xh][Length:%d]\n" ,pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), address, len); goto exit;
@@ -1393,26 +1358,12 @@ static uint32_t pt_pci_read_config(PCIDevice *d, uint32_t address, int len) }/* read I/O device register value */ -switch (len) { -case 1 : - val =pci_read_byte (pci_dev, address); -break ; -case 2 : - val =pci_read_word (pci_dev, address); -break ; -case 4 : - val =pci_read_long (pci_dev, address); -break ; - } + ret =pci_read_block (pci_dev, address, (uint8_t *)&val, len); -/* check libpci result */ - valid_mask = (0xFFFFFFFF >> ((4 - len) <<3 )); -if ((val & valid_mask) == valid_mask) +if (!ret) { -PT_LOG ("Warning: Return ALL F from libpci read. " -"[%02x:%02x.%x][Offset:%02xh][Length:%d]\n" , -pci_bus_num (d->bus), ((d->devfn >>3 ) &0x1F ), (d->devfn &0x7 ), - address, len); +PT_LOG ("Error: pci_read_block failed. return value[%d].\n" , ret); +memset ((uint8_t *)&val,0xff , len); }/* just return the I/O device register value for
@@ -1514,7 +1465,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) fp =fopen (path,"r" );if ( !fp ) { -PT_LOG ("Can't open %s: %s\n" , path,strerror (errno)); +PT_LOG ("Error: Can't open %s: %s\n" , path,strerror (errno));return ; }
@@ -1522,7 +1473,7 @@ static void pt_libpci_fixup(struct pci_dev *dev) {if (fscanf (fp,"%llx %llx %llx" , &start, &end, &flags) !=3 ) { -PT_LOG ("Syntax error in %s\n" , path); +PT_LOG ("Error: Syntax error in %s\n" , path);break ; }
@@ -1800,8 +1751,8 @@ static void pt_bar_mapping(struct pt_dev *ptdev, int io_enable, int mem_enable)/* check overlapped address */ ret =pt_chk_bar_overlap (dev->bus, dev->devfn, r_addr, r_size);if (ret >0 ) -PT_LOG ("ptdev[%02x:%02x.%x][Region:%d][Address:%08xh][Size:%08xh] " -"is overlapped.\n" ,pci_bus_num (dev->bus), +PT_LOG ("Warning: ptdev[%02x:%02x.%x][Region:%d][Address:%08xh]" +"[Size:%08xh] is overlapped.\n" ,pci_bus_num (dev->bus), (dev->devfn >>3 ) &0x1F , (dev->devfn &0x7 ), i, r_addr, r_size);
@@ -1841,68 +1792,51 @@ int check_power_state(struct pt_dev *ptdev)return 0 ; } -/* save AER register */ -static void pt_aer_reg_save (struct pt_dev *ptdev) +/* save AER one register */ +static void aer_save_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* after reset, following register values should be restored. -* So, save them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - *(uint32_t *)(d->config + (aer_base + i)) - =pci_read_long (ptdev->pci_dev, (aer_base + i)); -break ; -default : -break ; - } - } -#endif + *(uint32_t *)(d->config + (aer_base + offset)) + =pci_read_long (ptdev->pci_dev, (aer_base + offset)); } -/* restore AER register */ -static void pt_aer_reg_restore (struct pt_dev *ptdev) +/* save AER registers */ +static void pt_aer_reg_save (struct pt_dev *ptdev) +{ +/* after reset, following register values should be restored. +* So, save them. +*/ +aer_save_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_save_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_save_one_register (ptdev,PCI_ERR_CAP ); +} + +/* restore AER one register */ +static void aer_restore_one_register (struct pt_dev *ptdev,int offset) {PCIDevice *d = &ptdev->dev;uint32_t aer_base = ptdev->pm_state->aer_base; -int i =0 ;uint32_t config =0 ; -/* Root Port and Root Complex Event Collector need size expansion */ -int aer_size =0x2c ; -#ifdef PCI_ERR_UNCOR_MASK -for (i=0 ; i < aer_size; i+=4 ) - { -switch (i) { -/* the following registers should be reconfigured to correct values -* after reset. restore them. -*/ -case PCI_ERR_UNCOR_MASK : -case PCI_ERR_UNCOR_SEVER : -case PCI_ERR_COR_MASK : -case PCI_ERR_CAP : - config = *(uint32_t *)(d->config + (aer_base + i)); -pci_write_long (ptdev->pci_dev, (aer_base + i), config); -break ; -/* other registers should not be reconfigured after reset -* if there is no reason -*/ -default : -break ; - } - } -#endif + config = *(uint32_t *)(d->config + (aer_base + offset)); +pci_write_long (ptdev->pci_dev, (aer_base + offset), config); +} + +/* restore AER registers */ +static void pt_aer_reg_restore (struct pt_dev *ptdev) +{ +/* the following registers should be reconfigured to correct values +* after reset. restore them. +* other registers should not be reconfigured after reset +* if there is no reason +*/ +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_UNCOR_SEVER ); +aer_restore_one_register (ptdev,PCI_ERR_COR_MASK ); +aer_restore_one_register (ptdev,PCI_ERR_CAP ); }/* reset Interrupt and I/O resource */
@@ -2115,7 +2049,7 @@ static int pt_config_reg_init(struct pt_dev *ptdev, reg_entry =qemu_mallocz (sizeof (struct pt_reg_tbl ));if (reg_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2171,7 +2105,7 @@ static int pt_config_init(struct pt_dev *ptdev) reg_grp_entry =qemu_mallocz (sizeof (struct pt_reg_grp_tbl ));if (reg_grp_entry ==NULL ) { -PT_LOG ("Failed to allocate memory.\n" ); +PT_LOG ("Error: Failed to allocate memory.\n" ); err =-1 ; goto out; }
@@ -2239,10 +2173,10 @@ static void pt_config_delete(struct pt_dev *ptdev) }/* free all register group entry */ -while ((reg_grp_entry = ptdev->reg_grp_tbl_head.lh_first) !=NULL ) +while ((reg_grp_entry =LIST_FIRST (&ptdev->reg_grp_tbl_head)) !=NULL ) {/* free all register entry */ -while ((reg_entry = reg_grp_entry->reg_tbl_head.lh_first) !=NULL ) +while ((reg_entry =LIST_FIRST (®_grp_entry->reg_tbl_head)) !=NULL ) {LIST_REMOVE (reg_entry, entries);qemu_free (reg_entry);
@@ -2624,7 +2558,7 @@ static uint8_t pt_msi_size_init(struct pt_dev *ptdev,if ( !ptdev->msi ) {/* exit I/O emulator */ -PT_LOG ("error allocation pt_msi_info. I/O emulator exit.\n" ); +PT_LOG ("Error: Allocating pt_msi_info failed. I/O emulator exit.\n" );exit (1 ); }memset (ptdev->msi,0 ,sizeof (struct pt_msi_info ));
@@ -2754,8 +2688,7 @@ static int pt_byte_reg_read(struct pt_dev *ptdev,/* emulate byte register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2770,8 +2703,7 @@ static int pt_word_reg_read(struct pt_dev *ptdev,/* emulate word register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2786,8 +2718,7 @@ static int pt_long_reg_read(struct pt_dev *ptdev,/* emulate long register */ valid_emu_mask = reg->emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2833,8 +2764,7 @@ static int pt_bar_reg_read(struct pt_dev *ptdev,/* emulate BAR */ valid_emu_mask = bar_emu_mask & valid_mask; - *value = ((*value & ~valid_emu_mask) | - (cfg_entry->data & valid_emu_mask)); + *value =PT_MERGE_VALUE (*value, cfg_entry->data, ~valid_emu_mask);return 0 ; }
@@ -2850,13 +2780,11 @@ static int pt_byte_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2872,13 +2800,11 @@ static int pt_word_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2894,13 +2820,11 @@ static int pt_long_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -2917,12 +2841,11 @@ static int pt_cmd_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* mapping BAR */ pt_bar_mapping(ptdev, wr_value & PCI_COMMAND_IO,
@@ -2988,8 +2911,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* check whether we need to update the virtual region address or not */ switch (ptdev->bases[index].bar_flag)
@@ -3007,7 +2929,8 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,if ((last_addr >=0x10000 ) && (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask))) { - PT_LOG("Guest attempt to set Base Address over the 64KB. " + PT_LOG("Warning: Guest attempt to set Base Address " + "over the 64KB. " "[%02x:%02x.%x][Offset:%02xh][Address:%08xh][Size:%08xh]\n", pci_bus_num(d->bus), ((d->devfn >> 3) & 0x1F), (d->devfn & 0x7),
@@ -3023,7 +2946,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, {if (cfg_entry->data != (PT_BAR_ALLF & ~bar_ro_mask)) { - PT_LOG("Guest attempt to set high MMIO Base Address. " + PT_LOG("Warning: Guest attempt to set high MMIO Base Address. " "Ignore mapping. " "[%02x:%02x.%x][Offset:%02xh][High Address:%08xh]\n", pci_bus_num(d->bus),
@@ -3066,8 +2989,7 @@ static int pt_bar_reg_write(struct pt_dev *ptdev, exit:/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3099,16 +3021,14 @@ static int pt_exp_rom_bar_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = bar_emu_mask & ~bar_ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the corresponding virtual region address */ r->addr = cfg_entry->data;/* create value for writing to I/O device register */ throughable_mask = ~bar_emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);return 0 ; }
@@ -3122,22 +3042,16 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,PCIDevice *d = &ptdev->dev;uint16_t writable_mask =0 ;uint16_t throughable_mask =0 ; -uint16_t pmcsr_mask = (PCI_PM_CTRL_PME_ENABLE | -PCI_PM_CTRL_DATA_SEL_MASK | -PCI_PM_CTRL_PME_STATUS );struct pt_pm_info *pm_state = ptdev->pm_state;uint16_t read_val =0 ;/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~pmcsr_mask; - - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* set I/O device power state */ pm_state->cur_state = (dev_value &PCI_PM_CTRL_STATE_MASK );
@@ -3236,101 +3150,6 @@ static int pt_pmcsr_reg_write(struct pt_dev *ptdev,return 0 ; } -/* write Device Control register */ -static int pt_devctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl_mask = (PCI_EXP_DEVCTL_AUX_PME |0x8000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control register */ -static int pt_linkctrl_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl_mask = (0x04 |PCI_EXP_LNKCTL_DISABLE | -PCI_EXP_LNKCTL_RETRAIN | -0x0400 |0x0800 |0xF000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~linkctrl_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Device Control2 register */ -static int pt_devctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t devctrl2_mask =0xFFE0 ; - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & ~devctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} - -/* write Link Control2 register */ -static int pt_linkctrl2_reg_write (struct pt_dev *ptdev, -struct pt_reg_tbl *cfg_entry, -uint16_t *value,uint16_t dev_value,uint16_t valid_mask) -{ -struct pt_reg_info_tbl *reg = cfg_entry->reg; -uint16_t writable_mask =0 ; -uint16_t throughable_mask =0 ; -uint16_t linkctrl2_mask = (0x0040 |0xE000 ); - -/* modify emulate register */ - writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask & - ~linkctrl2_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); - -/* create value for writing to I/O device register */ - throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | - (dev_value & ~throughable_mask)); - -return 0 ; -} -/* write Message Control register */ static int pt_msgctrl_reg_write(struct pt_dev *ptdev, struct pt_reg_tbl *cfg_entry,
@@ -3346,22 +3165,19 @@ static int pt_msgctrl_reg_write(struct pt_dev *ptdev,/* Currently no support for multi-vector */ if ((*value &PCI_MSI_FLAGS_QSIZE ) !=0x0 ) -PT_LOG ("try to set more than 1 vector ctrl %x\n" , *value); +PT_LOG ("Warning: try to set more than 1 vector ctrl %x\n" , *value);/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->flags |= cfg_entry->data & ~(MSI_FLAG_UNINIT |PT_MSI_MAPPED |PCI_MSI_FLAGS_ENABLE ); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ val = *value; throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (val &PCI_MSI_FLAGS_ENABLE )
@@ -3420,16 +3236,13 @@ static int pt_msgaddr32_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_lo = cfg_entry->data; -PT_LOG ("old_addr_lo:%08xh new_addr_lo:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3455,22 +3268,19 @@ static int pt_msgaddr64_reg_write(struct pt_dev *ptdev,if (!(ptdev->msi->flags &PCI_MSI_FLAGS_64BIT )) {/* exit I/O emulator */ -PT_LOG ("why comes to Upper Address without 64 bit support??\n" ); +PT_LOG ("Error: why comes to Upper Address without 64 bit support??\n" );return -1 ; }/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->addr_hi = cfg_entry->data; -PT_LOG ("old_addr_hi:%08xh new_addr_hi:%08xh\n" , old_addr, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_addr)
@@ -3506,16 +3316,13 @@ static int pt_msgdata_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask);/* update the msi_info too */ ptdev->msi->data = cfg_entry->data; -PT_LOG ("old_data:%04xh new_data:%04xh\n" , old_data, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI */ if (cfg_entry->data != old_data)
@@ -3539,14 +3346,11 @@ static int pt_msixctrl_reg_write(struct pt_dev *ptdev,/* modify emulate register */ writable_mask = reg->emu_mask & ~reg->ro_mask & valid_mask; - cfg_entry->data = ((*value & writable_mask) | - (cfg_entry->data & ~writable_mask)); + cfg_entry->data =PT_MERGE_VALUE (*value, cfg_entry->data, writable_mask); -PT_LOG ("old_ctrl:%04xh new_ctrl:%04xh\n" , old_ctrl, cfg_entry->data); -/* create value for writing to I/O device register */ throughable_mask = ~reg->emu_mask & valid_mask; - *value = ((*value & throughable_mask) | (dev_value & ~throughable_mask)); + *value =PT_MERGE_VALUE (*value, dev_value, throughable_mask);/* update MSI-X */ if ((*value &PCI_MSIX_ENABLE ) && !(*value &PCI_MSIX_MASK ))
@@ -3979,7 +3783,7 @@ int pt_init(PCIBus *e_bus, const char *direct_pci) pci_access =pci_alloc ();if ( pci_access ==NULL ) { -PT_LOG ("pci_access is NULL\n" ); +PT_LOG ("Error: pci_access is NULL\n" );return -1 ; }pci_init (pci_access);
hw/pass-through.h +20 -0
@@ -86,6 +86,26 @@#define PCI_EXP_TYPE_ROOT_EC 0xa#endif +#ifndef PCI_ERR_UNCOR_MASK +/* Uncorrectable Error Mask */ +#define PCI_ERR_UNCOR_MASK 8 +#endif + +#ifndef PCI_ERR_UNCOR_SEVER +/* Uncorrectable Error Severity */ +#define PCI_ERR_UNCOR_SEVER 12 +#endif + +#ifndef PCI_ERR_COR_MASK +/* Correctable Error Mask */ +#define PCI_ERR_COR_MASK 20 +#endif + +#ifndef PCI_ERR_CAP +/* Advanced Error Capabilities */ +#define PCI_ERR_CAP 24 +#endif +#ifndef PCI_EXT_CAP_ID /* Extended Capabilities (PCI-X 2.0 and PCI Express) */ #define PCI_EXT_CAP_ID (header) (header & 0x0000ffff)
hw/pt-msi.c +19 -19
@@ -68,7 +68,7 @@ int pt_msi_setup(struct pt_dev *dev)if ( !(dev->msi->flags &MSI_FLAG_UNINIT ) ) { -PT_LOG ("setup physical after initialized?? \n" ); +PT_LOG ("Error: setup physical after initialized?? \n" );return -1 ; }
@@ -76,13 +76,13 @@ int pt_msi_setup(struct pt_dev *dev) dev->pci_dev->dev << 3 | dev->pci_dev->func, dev->pci_dev->bus, 0, 0) ) { -PT_LOG ("error map msi\n" ); +PT_LOG ("Error: Mapping of MSI failed.\n" );return -1 ; }if ( pirq <0 ) { -PT_LOG ("invalid pirq number\n" ); +PT_LOG ("Error: Invalid pirq number\n" );return -1 ; }
@@ -125,7 +125,7 @@ int pt_msi_update(struct pt_dev *d) addr = (uint64_t )d->msi->addr_hi <<32 | d->msi->addr_lo; gflags =__get_msi_gflags (d->msi->data, addr); -PT_LOG ("now update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec); +PT_LOG ("Update msi with pirq %x gvec %x\n" , d->msi->pirq, gvec);return xc_domain_update_msi_irq (xc_handle, domid, gvec, d->msi->pirq, gflags); }
@@ -295,19 +295,19 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr) dev->msix->table_base);if ( ret ) { -PT_LOG ("error map msix entry %x\n" , entry_nr); +PT_LOG ("Error: Mapping msix entry %x\n" , entry_nr);return ret; } entry->pirq = pirq; } -PT_LOG ("now update msix entry %x with pirq %x gvec %x\n" , +PT_LOG ("Update msix entry %x with pirq %x gvec %x\n" , entry_nr, pirq, gvec); ret =xc_domain_update_msi_irq (xc_handle, domid, gvec, pirq, gflags);if ( ret ) { -PT_LOG ("error update msix irq info for entry %d\n" , entry_nr); +PT_LOG ("Error: Updating msix irq info for entry %d\n" , entry_nr);return ret; }
@@ -378,7 +378,7 @@ void pt_msix_disable(struct pt_dev *dev)static void pci_msix_invalid_write (void *opaque,target_phys_addr_t addr,uint32_t val) { -PT_LOG ("invalid write to MSI-X table, \ +PT_LOG ("Error: Invalid write to MSI-X table, \ only dword access is allowed.\n" ); }
@@ -391,8 +391,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return ; }
@@ -402,8 +402,8 @@ static void pci_msix_writel(void *opaque, target_phys_addr_t addr, uint32_t val)if ( offset !=3 && msix->enabled && !(entry->io_mem[3 ] &0x1 ) ) { -PT_LOG ("can not update msix entry %d since MSI-X is already \ -function now.\n" , entry_nr); +PT_LOG ("Error: Can't update msix entry %d since MSI-X is already \ +function.\n" , entry_nr);return ; }
@@ -427,7 +427,7 @@ static CPUWriteMemoryFunc *pci_msix_write[] = {static uint32_t pci_msix_invalid_read (void *opaque,target_phys_addr_t addr) { -PT_LOG ("invalid read to MSI-X table, \ +PT_LOG ("Error: Invalid read to MSI-X table, \ only dword access is allowed.\n" );return 0 ; }
@@ -440,8 +440,8 @@ static uint32_t pci_msix_readl(void *opaque, target_phys_addr_t addr)if ( addr %4 ) { -PT_LOG ("unaligned dword access to MSI-X table, addr %016" PRIx64"\n" , - addr); +PT_LOG ("Error: Unaligned dword access to MSI-X table, \ +addr %016" PRIx64"\n" , addr);return 0 ; }
@@ -504,7 +504,7 @@ int pt_msix_init(struct pt_dev *dev, int pos)if ( id !=PCI_CAP_ID_MSIX ) { -PT_LOG ("error id %x pos %x\n" , id, pos); +PT_LOG ("Error: Invalid id %x pos %x\n" , id, pos);return -1 ; }
@@ -516,7 +516,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) + total_entries*sizeof(struct msix_entry_info));if ( !dev->msix ) { -PT_LOG ("error allocation pt_msix_info\n" ); +PT_LOG ("Error: Allocating pt_msix_info failed.\n" );return -1 ; } memset(dev->msix, 0, sizeof(struct pt_msix_info)
@@ -538,7 +538,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd =open ("/dev/mem" ,O_RDWR );if ( fd ==-1 ) { -PT_LOG ("Can't open /dev/mem: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't open /dev/mem: %s\n" ,strerror (errno)); goto error_out; } dev->msix->phys_iomem_base = mmap(0, total_entries * 16,
@@ -546,7 +546,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) fd, dev->msix->table_base + table_off);if ( dev->msix->phys_iomem_base ==MAP_FAILED ) { -PT_LOG ("Can't map physical MSI-X table: %s\n" ,strerror (errno)); +PT_LOG ("Error: Can't map physical MSI-X table: %s\n" ,strerror (errno));close (fd); goto error_out; }
Simon Horman
Tested-byQuoted 14 lines · Yuji Shimada
The patch cleanups the code of PCI passthrough.
- Use
LIST_FOREACH(). Don't uselh_first,le_nextdirectly.
- Use pci_{read, write}_block instead of "switch(len) case [124] pci_{read, write}_{byte, word, long}();".
- Eliminate duplicate codes usingPT_MEARGE_VALUEmacro.
- Define PCI_ERR_* macro inpass-through.hif libpci is old.
- Remove the unreasonable loop from pt_aer_reg_{save,restore}.
- Enable pt_aer_reg_{save,restore}, even if libpci is old.
- Fixro_maskand remove unnecessarypt_xxx_reg_writefunctions.
- Add "Error:" or "Warning:" to messages.
- Remove verbose messages.
Quoted 6 lines
Thanks,
--
Yuji Shimada.Signed-off-by Yuji Shimada <[email protected]>
Signature · 3 lines
Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
Simon Horman writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 4 lines · Yuji Shimada
Quoted 1 line
Signed-off-by Yuji Shimada <[email protected]>Tested-by Simon Horman <[email protected]>
Thanks, I have applied this.
The problem causing it to be rejected was that hw/passthrough.[ch] and hw/pt-msi.[ch] were full of trailing whitespace, which Yuji Shimada's mailer evidently removes. I think the mailer was right and the code was wrong.
So I have removed all of that trailing whitespace with a trivial perl one-liner and then committed the cleanup patch on top. I haven't tested the pass-through but the tree does build.
Ian.
I was under impression, that mentioned patch is supposed to support
loading HVM DomU (?). If answer is "yes" , then my question:-
When http://xenbits.xensource.com/xen-unstable.hg will get this update?
Looks like "make tools" is using http://xenbits.xensource.com/git-http/qemu-xen-unstable.git when building xen-unstable.hg/tools/ioemu-remote. If answer is "no", i am sorry for misunderstanding.
Fresh Xen-Unstable Dom0 install (along with the most recent build 2.6.29-rc5) still shows during attempt to start HVM DomU:-
# xm dmesg . . . . . . (XEN) HVM1: HVM Loader (XEN) HVM1: Detected Xen v3.4-unstable (XEN) HVM1: CPU speed is 3006 MHz (XEN) irq.c:235: Dom1 PCI link 0 changed 0 -> 5 (XEN) HVM1: PCI-ISA link 0 routed to IRQ5 (XEN) irq.c:235: Dom1 PCI link 1 changed 0 -> 10 (XEN) HVM1: PCI-ISA link 1 routed to IRQ10 (XEN) irq.c:235: Dom1 PCI link 2 changed 0 -> 11 (XEN) HVM1: PCI-ISA link 2 routed to IRQ11 (XEN) irq.c:235: Dom1 PCI link 3 changed 0 -> 5 (XEN) HVM1: PCI-ISA link 3 routed to IRQ5 (XEN) HVM1: pci dev 01:2 INTD->IRQ5 (XEN) HVM1: pci dev 01:3 INTA->IRQ10 (XEN) HVM1: pci dev 03:0 INTA->IRQ5 (XEN) HVM1: pci dev 04:0 INTA->IRQ5 (XEN) HVM1: pci dev 02:0 bar 10 size 02000000: f0000008 (XEN) HVM1: pci dev 03:0 bar 14 size 01000000: f2000008 (XEN) HVM1: pci dev 02:0 bar 14 size 00001000: f3000000 (XEN) HVM1: pci dev 03:0 bar 10 size 00000100: 0000c001 (XEN) HVM1: pci dev 04:0 bar 10 size 00000100: 0000c101 (XEN) HVM1: pci dev 04:0 bar 14 size 00000100: f3001000 (XEN) HVM1: pci dev 01:2 bar 20 size 00000020: 0000c201 (XEN) HVM1: pci dev 01:1 bar 20 size 00000010: 0000c221 (XEN) HVM1: Multiprocessor initialisation: (XEN) HVM1: - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (XEN) HVM1: Testing HVM environment: (XEN) HVM1: - REP INSB across page boundaries ... passed (XEN) HVM1: Passed 1/1 tests (XEN) HVM1: Writing SMBIOS tables ... (XEN) HVM1: Loading ROMBIOS ... (XEN) HVM1: 9788 bytes of ROMBIOS high-memory extensions: (XEN) HVM1: Relocating to 0xfc000000-0xfc00263c ... done (XEN) HVM1: Creating MP tables ... (XEN) HVM1: Loading Cirrus VGABIOS ... (XEN) HVM1: Loading PCI Option ROM ... (XEN) HVM1: - Manufacturer: http://etherboot.org (XEN) HVM1: - Product name: gPXE (XEN) HVM1: Loading ACPI ...
********************************
Logfile under /var/log/xen :-
********************************
domid: 1
qemu: the number of cpus is 1
config qemu network with xen bridge for tap1.0 eth0
Watching /local/domain/0/device-model/1/logdirty/next-active
Watching /local/domain/0/device-model/1/commandxs_read(): vncpasswd get error. /vm/1388b5b0-3888-5c75-b701-3e82249a379e/vncpasswd. qemu_map_cache_init nr_buckets = 10000 size 3145728
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 1388b5b0-3888-5c75-b701-3e82249a379e
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform. xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error medium change watch on `hdc' (index: 0): /dev/loop0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 cirrus vga map change while on lfb mode
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.
To: "Simon Horman" <[email protected]>
Cc: "Yuji Shimada" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 6:36 AM
Simon Horman writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 4 lines · Yuji Shimada
Quoted 1 line
Signed-off-by Yuji Shimada <[email protected]>Tested-by Simon Horman <[email protected]>
Thanks, I have applied this.
The problem causing it to be rejected was that hw/passthrough.[ch] and hw/pt-msi.[ch] were full of trailing whitespace, which Yuji Shimada's mailer evidently removes. I think the mailer was right and the code was wrong.
So I have removed all of that trailing whitespace with a trivial perl one-liner and then committed the cleanup patch on top. I haven't tested the pass-through but the tree does build.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
Boris Derzhavets writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 2 lines
I was under impression, that mentioned patch is supposed to support
loading HVM DomU (?).
No, it's just code cleanup for PCI passthrough, which is for passing PCI devices through to guests. If you are not doing PCI passthrough - ie, most ordinary HVM guests - then these changes will not affect you.
Quoted 2 lines
If answer is "yes" , then my question:-
When http://xenbits.xensource.com/xen-unstable.hg will get this update?
In this case, just now. All changes that we make to xen-unstable, including the qemu-xen-unstable subsidiary tree, go through an automated build-and-test. Only versions which pass the (fairly rudimentary) tests make it through to the main trees.
The pre-testing trees (called staging') are also available and published but not the usual' case.
Quoted 3 lines
Looks like "make tools" is using
http://xenbits.xensource.com/git-http/qemu-xen-unstable.git when building xen-unstable.hg/tools/ioemu-remote.
Yes. You can change this by setting the CONFIG_QEMU make variable, eg in a file `.config' in the xen-unstable.hg top level.
Quoted 4 lines
If answer is "no", i am sorry for misunderstanding.
Fresh Xen-Unstable Dom0 install (along with the most recent build
2.6.29-rc5) still shows during attempt to start HVM DomU:-
These messages are not very surprising. Is it working ?
Ian.
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
Quoted 26 lines · Ian Jackson
Boris Derzhavets writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 2 lines
I was under impression, that mentioned patch is supposed to support
loading HVM DomU (?).No, it's just code cleanup for PCI passthrough, which is for passing PCI devices through to guests. If you are not doing PCI passthrough - ie, most ordinary HVM guests - then these changes will not affect you.
Quoted 2 lines
If answer is "yes" , then my question:-
When http://xenbits.xensource.com/xen-unstable.hg will get this update?In this case, just now. All changes that we make to xen-unstable, including the qemu-xen-unstable subsidiary tree, go through an automated build-and-test. Only versions which pass the (fairly rudimentary) tests make it through to the main trees.
The pre-testing trees (called
staging') are also available and published but not theusual' case.Quoted 3 lines
Looks like "make tools" is using
http://xenbits.xensource.com/git-http/qemu-xen-unstable.git when building xen-unstable.hg/tools/ioemu-remote.Yes. You can change this by setting the
CONFIG_QEMUmake variable, eg in a file `.config' in the xen-unstable.hg top level.
Quoted 6 lines
Quoted 4 lines
If answer is "no", i am sorry for misunderstanding.
Fresh Xen-Unstable Dom0 install (along with the most recent build
2.6.29-rc5) still shows during attempt to start HVM DomU:-These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with pv_ops kernel I get this error:
[2009-02-22 14:01:53 3467] WARNING (image:470) domain xptest: device model failure: pid 3735: malfunctioning (closed sentinel), killed; see /var/log/xen/qemu-dm-xptest.log
cat /var/log/xen/qemu-dm-xptest.log
domid: 4
qemu: the number of cpus is 1
Using xvda for guest's hda
Strip off blktap sub-type prefix to /root/xp (drv 'aio') Watching /local/domain/0/device-model/4/logdirty/next-active Watching /local/domain/0/device-model/4/command qemu_map_cache_init nr_buckets = 10000 size 3145728
shared page at pfn 1fffe
buffered io page at pfn 1fffc
Time offset set 0
Register xen platform.
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
If I change the kernel to normal Xen kernel (not pv_ops) it works ok.
What can I do to debug?
Andy
Quoted 8 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 4 lines · Ian Jackson
Quoted 1 line
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get this error:
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o /root/qemu-dm.strace \
/usr/lib/xen/bin/qemu-dm "$@"and then give the name of the script as device_model in your config file.
Ian.
Re: HVM pvops failures
I've tried that :-
name = "Ubuntu810HVM"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w'] vif = [ 'type=ioemu,bridge=eth0' ]
# device_model = "/usr/lib64/xen/bin/qemu-dm" device_model = "device_model_wrap.sh" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 boot="d" usb=1 usbdevice="tablet" vcpus=1 on_reboot = "restart" on_crash = "restart"
cat device_model_wrap.sh
#!/bin/sh
set -e
exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \
/usr/lib64/xen/bin/qemu-dm "$@"
Same behavior. File qemu-dm.strace has not been created at all. Content of log file under /var/log/xen is just the same. xm dmesg is much less informative. Just 2-3 HVM lines
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Andrew Lyon" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 11:21 AM
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re: [PATCH]
ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 1 line
On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson
Quoted 3 lines · <[email protected]> wrote:
Quoted 1 line
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get this
error:
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o /root/qemu-dm.strace \
/usr/lib/xen/bin/qemu-dm "$@"and then give the name of the script as device_model in your config file.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures
Quoted 25 lines · Boris Derzhavets
I've tried that :-
name = "Ubuntu810HVM"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w'] vif = [ 'type=ioemu,bridge=eth0' ]# device_model = "/usr/lib64/xen/bin/qemu-dm" device_model = "device_model_wrap.sh" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 boot="d" usb=1 usbdevice="tablet" vcpus=1 on_reboot = "restart" on_crash = "restart"cat
device_model_wrap.sh
#!/bin/sh
set -e
exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \
/usr/lib64/xen/bin/qemu-dm"$@"
Quoted 3 lines
Same behavior. File qemu-dm.strace has not been created at all. Content of log file under
/var/log/xenis just the same. xm dmesg is much less informative. Just 2-3 HVM lines
Worked for me, I've attached the 1mb strace logfile.
Perhaps you don't have strace installed?
Andy
Quoted 29 lines
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Andrew Lyon" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 11:21 AMAndrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re: [PATCH]
ioemu: Cleanup the code of PCI passthrough.)"):Quoted 1 line
On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson
Quoted 3 lines · <[email protected]> wrote:
Quoted 1 line
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get thiserror:
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with
qemu.)I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -eexec strace -vvs500 -f -o /root/qemu-dm.strace \ /usr/lib/xen/bin/qemu-dm "$@"
Quoted 10 lines
and then give the name of the script as
device_modelin your config file.Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures
root@ServerXen331:~# which strace /usr/bin/strace
--- On Mon, 2/23/09, Andrew Lyon <[email protected]> wrote:
From: Andrew Lyon <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: [email protected]
Cc: "Ian Jackson" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 2:45 PM
Quoted 6 lines · Boris Derzhavets
I've tried that :-
name = "Ubuntu810HVM"
builder = "hvm"
memory = "2048"
disk =
['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w']
Quoted 19 lines
vif = [ 'type=ioemu,bridge=eth0' ]
# device_model = "/usr/lib64/xen/bin/qemu-dm" device_model = "device_model_wrap.sh" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 boot="d" usb=1 usbdevice="tablet" vcpus=1 on_reboot = "restart" on_crash = "restart"cat
device_model_wrap.sh
#!/bin/sh
set -e
exec strace -vvs500 -f -o ~boris/vm/qemu-dm.strace \
/usr/lib64/xen/bin/qemu-dm"$@"
Quoted 3 lines
Same behavior. File qemu-dm.strace has not been created at all. Content of log file under
/var/log/xenis just the same. xm dmesg is much less informative. Just 2-3 HVM lines
Worked for me, I've attached the 1mb strace logfile.
Perhaps you don't have strace installed?
Andy
Quoted 8 lines
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Andrew Lyon" <[email protected]>
Cc: "[email protected]"
Quoted 3 lines
Date: Monday, February 23, 2009, 11:21 AM
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH]
Quoted 6 lines
ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 1 line
On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson
Quoted 3 lines · <[email protected]> wrote:
Quoted 1 line
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get
this
Quoted 12 lines
error:
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with
qemu.)I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -eexec strace -vvs500 -f -o /root/qemu-dm.strace \ /usr/lib/xen/bin/qemu-dm "$@"
Quoted 10 lines
and then give the name of the script as
device_modelin your config file.Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures
In reply to Ian JacksonQuoted 4 lines · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines · Ian Jackson
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get this error:Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model failure: pid 5409: died due to signal 7; see /var/log/xen/qemu-dm-win7.log
Hm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 8 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -eexec strace -vvs500 -f -o /root/qemu-dm.strace \ /usr/lib/xen/bin/qemu-dm "$@"and then give the name of the script as
device_modelin your config file.
I see:
...
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539747423}) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539837298}) = 0
5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0, 9995})
5079 read(10, "\36\0\0\0"..., 4) = 4
5079 write(10, "\36\0\0\0"..., 4) = 4
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540495964}) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540591278}) = 0
5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0, 9995})
5079 read(10, "\36\0\0\0"..., 4) = 4
5079 write(10, "\36\0\0\0"..., 4) = 4
5079 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x7f1ad5f2b000
5079 ioctl(4, SNDCTL_DSP_STEREO, 0x7fffdfd52230) = 0
5079 --- SIGBUS (Bus error) @ 0 (0) ---
5157 +++ killed by SIGBUS +++This mmap and ioctl is from /proc/xen/privcmd.
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
6310 execve("/usr/lib64/xen/bin/qemu-dm", ["/usr/lib64/xen/bin/qemu-dm", "-d", "1", "-domain-name", "U810HVM", "-videoram", "4", "-vnc", "127.0.0.1:0", "-vncunused", "-vcpus", "1", "-boot", "d", "-acpi", "-usb", "-usbdevice", "tablet", "-net", "nic,vlan=1,macaddr=00:16:3e:0d:1e:12,model=rtl8139", "-net", "tap,vlan=1,ifname=tap1.0,bridge=eth0", "-M", "xenfv"], ["SHLVL=1", "runlevel=2", "UPSTART_JOB=rc2", "_=/usr/sbin/xend", "UPSTART_JOB_ID=11", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "RUNLEVEL=2", "PREVLEVEL=N", "UPSTART_EVENT=runlevel", "XAUTHORITY=/root/.Xauthority", "previous=N", "PWD=/", "VERBOSE=no"]) = 0
6310 brk(0) = 0x2a0f000
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd6000
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd4000
6310 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6310 open("/etc/ld.so.cache", O_RDONLY) = 3
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=92498, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=152, st_size=72620, st_atime=2009/02/19-08:17:37, st_mtime=2009/02/19-08:17:24, st_ctime=2009/02/19-08:17:24}) = 0
6310 mmap(NULL, 72620, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fae2ecc2000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libm.so.6", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\0\0\0\0\0\0@\0\0\0\0\0\0\0\230A\10\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0\35\0\34\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0000\347\7\0\0\0\0\0000\347\7\0\0\0\0\0000\347\7\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3305\10\0\0\0\0\0\3305\10\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\300=\10\0\0\0\0\0\300=(\0\0\0\0\0\300=(\0\0\0\0\0\320\2\0\0\0\0\0\0\30\3\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\350=\10\0\0\0\0\0\350=(\0\0\0\0\0\350=(\0\0\0\0\0\300\1\0\0\0\0\0\0\300\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0L\347\7\0\0\0\0\0L\347\7\0\0\0\0\0L\347\7\0\0\0\0\0\\\16\0\0\0\0\0\0\\\16\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491529, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=1072, st_size=542936, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 2638040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2e834000
6310 mprotect(0x7fae2e8b8000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2eab7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x83000) = 0x7fae2eab7000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/usr/lib/libz.so.1", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0@\0\0\0\0\0\0\0\0s\1\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\34\0\33\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\244a\1\0\0\0\0\0\244a\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\240l\1\0\0\0\0\0\240l!\0\0\0\0\0\240l!\0\0\0\0\0`\5\0\0\0\0\0\0p\5\0\0\0\0\0\0\0\0
\0\0\0\0\0\2\0\0\0\6\0\0\0\320m\1\0\0\0\0\0\320m!\0\0\0\0\0\320m!\0\0\0\0\0\300\1\0\0\0\0\0\0\300\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\0T\1\0\0\0\0\0\0T\1\0\0\0\0\0\0T\1\0\0\0\0\0\324\2\0\0\0\0\0\0\324\2\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\240l\1\0\0\0\0\0\240l!\0\0\0\0\0\240l!\0\0\0\0\0H\3\0\0\0\0\0\0H\3\0\0\0\0\0\0\1\0\0\0\0\0\0\0a\0\0\0f\0\0\0\0\0\0\0\0\0\0\0\31\0\0\0\r\0\0\0:\0\0\0\30\0\0\0\0\0\0\0a\0\0\0\0\0\0\0\0\0\0\0O\0\0\0\0\0\0\0P\0\0\0\0\0\0\0[\0\0\0\20\0\0\0U\0\0\0^\0\0\0C\0\0\0#\0\0\0001\0\0\0\0\0\0\0+\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2008942, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=200, st_size=96768, st_atime=2009/02/14-05:26:11, st_mtime=2008/05/06-06:09:54, st_ctime=2009/02/14-05:26:07}) = 0
6310 mmap(NULL, 2191888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2e61c000
6310 mprotect(0x7fae2e633000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2e832000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fae2e832000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/librt.so.1", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\"\0\0\0\0\0\0@\0\0\0\0\0\0\0\250\203\0\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0 \0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0@d\0\0\0\0\0\0@d\0\0\0\0\0\0@d\0\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\204t\0\0\0\0\0\0\204t\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0x}\0\0\0\0\0\0x} \0\0\0\0\0x} \0\0\0\0\0\364\4\0\0\0\0\0\0x\16\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\260}\0\0\0\0\0\0\260} \0\0\0\0\0\260} \0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\\d\0\0\0\0\0\0\\d\0\0\0\0\0\0\\d\0\0\0\0\0\0D\2\0\0\0\0\0\0D\2\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491541, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=72, st_size=35752, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:32, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecc1000
6310 mmap(NULL, 2132976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2e413000
6310 mprotect(0x7fae2e41b000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2e61a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fae2e61a000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libpthread.so.0", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320W\0\0\0\0\0\0@\0\0\0\0\0\0\0\240t\1\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0#\0 \0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\360\27\1\0\0\0\0\0\360\27\1\0\0\0\0\0\360\27\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Ld\1\0\0\0\0\0Ld\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\320k\1\0\0\0\0\0\320k!\0\0\0\0\0\320k!\0\0\0\0\0\200\6\0\0\0\0\0\0\240G\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\250m\1\0\0\0\0\0\250m!\0\0\0\0\0\250m!\0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\f\30\1\0\0\0\0\0\f\30\1\0\0\0\0\0\f\30\1\0\0\0\0\0\274\t\0\0\0\0\0\0\274\t\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491539, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=264, st_size=130214, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:37, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 2208624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2e1f7000
6310 mprotect(0x7fae2e20e000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2e40d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fae2e40d000
6310 mmap(0x7fae2e40f000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fae2e40f000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libutil.so.1", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\r\0\0\0\0\0\0@\0\0\0\0\0\0\0\0\"\0\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0\35\0\34\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0P\27\0\0\0\0\0\0P\27\0\0\0\0\0\0P\27\0\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0x\32\0\0\0\0\0\0x\32\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\350\35\0\0\0\0\0\0\350\35 \0\0\0\0\0\350\35 \0\0\0\0\0\20\3\0\0\0\0\0\0 \3\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\20\36\0\0\0\0\0\0\20\36 \0\0\0\0\0\20\36 \0\0\0\0\0\300\1\0\0\0\0\0\0\300\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0l\27\0\0\0\0\0\0l\27\0\0\0\0\0\0l\27\0\0\0\0\0\0<\0\0\0\0\0\0\0<\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491544, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=24, st_size=10560, st_atime=2009/02/14-07:15:46, st_mtime=2009/01/29-12:56:32, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2dff4000
6310 mprotect(0x7fae2dff6000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2e1f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fae2e1f5000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/usr/lib/libxenctrl.so.3.4", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340H\0\0\0\0\0\0@\0\0\0\0\0\0\0\250\313\5\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0&\0#\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\374L\1\0\0\0\0\0\374L\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\260\\\1\0\0\0\0\0\260\\!\0\0\0\0\0\260\\!\0\0\0\0\0\214\6\0\0\0\0\0\0000\237\2\0\0\0\0\0\0\0
\0\0\0\0\0\2\0\0\0\6\0\0\0\0^\1\0\0\0\0\0\0^!\0\0\0\0\0\0^!\0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\340+\1\0\0\0\0\0\340+\1\0\0\0\0\0\340+\1\0\0\0\0\0L\6\0\0\0\0\0\0L\6\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\260\\\1\0\0\0\0\0\260\\!\0\0\0\0\0\260\\!\0\0\0\0\0P\3\0\0\0\0\0\0P\3\0\0\0\0\0\0\1\0\0\0\0\0\0\0\305\0\0\0\346\0\0\0\274\0\0\0.\0\0\0\0\0\0\0O\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\313\0\0\0\\\0\0\0\0\0\0\0\0\0\0\0\206\0\0\0\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0a\0\0\0\30\0\0\0\332\0\0\0T\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2312722, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=792, st_size=398038, st_atime=2009/02/23-08:57:01, st_mtime=2009/02/23-07:58:31, st_ctime=2009/02/23-08:28:42}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecc0000
6310 mmap(NULL, 2358240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2ddb4000
6310 mprotect(0x7fae2ddc9000, 2097152, PROT_NONE) = 0
6310 mmap(0x7fae2dfc9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fae2dfc9000
6310 mmap(0x7fae2dfcb000, 166880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fae2dfcb000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/usr/lib/libxenguest.so.3.4", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`I\0\0\0\0\0\0@\0\0\0\0\0\0\0h\200\5\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0&\0#\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0l\241\1\0\0\0\0\0l\241\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\10\246\1\0\0\0\0\0\10\246!\0\0\0\0\0\10\246!\0\0\0\0\0\210\22\0\0\0\0\0\0\200\23\0\0\0\0\0\0\0\0
\0\0\0\0\0\2\0\0\0\6\0\0\0\300\255\1\0\0\0\0\0\300\255!\0\0\0\0\0\300\255!\0\0\0\0\0\320\1\0\0\0\0\0\0\320\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\324\211\1\0\0\0\0\0\324\211\1\0\0\0\0\0\324\211\1\0\0\0\0\0d\4\0\0\0\0\0\0d\4\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\10\246\1\0\0\0\0\0\10\246!\0\0\0\0\0\10\246!\0\0\0\0\0\370\t\0\0\0\0\0\0\370\t\0\0\0\0\0\0\1\0\0\0\0\0\0\0\203\0\0\0\254\0\0\0\0\0\0\0\214\0\0\0000\0\0\0M\0\0\0:\0\0\0\235\0\0\0Z\0\0\0k\0\0\0>\0\0\0r\0\0\0\0\0\0\0A\0\0\0\247\0\0\0\233\0\0\0\234\0\0\0E\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2312726, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=752, st_size=378254, st_atime=2009/02/23-08:57:01, st_mtime=2009/02/23-07:58:36, st_ctime=2009/02/23-08:28:42}) = 0
6310 mmap(NULL, 2210184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2db98000
6310 mprotect(0x7fae2dbb3000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2ddb2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fae2ddb2000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/usr/lib/libxenstore.so.3.0", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \34\0\0\0\0\0\0@\0\0\0\0\0\0\0\330\342\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0&\0#\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0tC\0\0\0\0\0\0tC\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\30M\0\0\0\0\0\0\30M \0\0\0\0\0\30M \0\0\0\0\0h\4\0\0\0\0\0\0\2204\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0 N\0\0\0\0\0\0 N \0\0\0\0\0 N \0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\224;\0\0\0\0\0\0\224;\0\0\0\0\0\0\224;\0\0\0\0\0\0\204\1\0\0\0\0\0\0\204\1\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\30M\0\0\0\0\0\0\30M \0\0\0\0\0\30M \0\0\0\0\0\350\2\0\0\0\0\0\0\350\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0C\0\0\0T\0\0\0002\0\0\0004\0\0\0\0\0\0\0H\0\0\0\0\0\0\0:\0\0\0\0\0\0\0M\0\0\0\0\0\0\0\'\0\0\0%\0\0\0G\0\0\0J\0\0\0\22\0\0\0\0\0\0\0\34\0\0\0
\0\0\0\5\0\0\0\0\0\0\0\"\0\0\0?\0\0\0,\0\0\0\17\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2312734, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=144, st_size=66323, st_atime=2009/02/23-08:57:01, st_mtime=2009/02/23-07:58:37, st_ctime=2009/02/23-08:28:42}) = 0
6310 mmap(NULL, 2130344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2d98f000
6310 mprotect(0x7fae2d994000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2db93000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fae2db93000 6310 mmap(0x7fae2db95000, 8616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fae2db95000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/usr/lib/libblktap.so.3.0", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\22\0\0\0\0\0\0@\0\0\0\0\0\0\0\200\237\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0%\0\"\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\354,\0\0\0\0\0\0\354,\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\370-\0\0\0\0\0\0\370- \0\0\0\0\0\370- \0\0\0\0\0H\3\0\0\0\0\0\0\210#\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0 .\0\0\0\0\0\0 . \0\0\0\0\0 . \0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\260(\0\0\0\0\0\0\260(\0\0\0\0\0\0\260(\0\0\0\0\0\0\324\0\0\0\0\0\0\0\324\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\370-\0\0\0\0\0\0\370- \0\0\0\0\0\370- \0\0\0\0\0\10\2\0\0\0\0\0\0\10\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0%\0\0\0005\0\0\0\0\0\0\0\33\0\0\0
\0\0\0\36\0\0\0\"\0\0\0/\0\0\0004\0\0\0\0\0\0\0\32\0\0\0\n\0\0\0\0\0\0\0*\0\0\0\34\0\0\0\0\0\0\0\21\0\0\0\20\0\0\0000\0\0\0\31\0\0\0,\0\0\0$\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2312739, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=96, st_size=47471, st_atime=2009/02/23-08:57:25, st_mtime=2009/02/23-07:58:54, st_ctime=2009/02/23-08:28:45}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecbf000
6310 mmap(NULL, 2118016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2d789000
6310 mprotect(0x7fae2d78c000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2d98b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fae2d98b000 6310 mmap(0x7fae2d98d000, 4480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fae2d98d000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libncurses.so.5", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\6\1\0\0\0\0\0@\0\0\0\0\0\0\0@\250\3\0\0\0\0\0\0\0\0\0@\0008\0\5\0@\0\33\0\32\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0$m\3\0\0\0\0\0$m\3\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0(m\3\0\0\0\0\0(m#\0\0\0\0\0(m#\0\0\0\0\0(:\0\0\0\0\0\0X@\0\0\0\0\0\0\0\0
\0\0\0\0\0\2\0\0\0\6\0\0\0\230\234\3\0\0\0\0\0\230\234#\0\0\0\0\0\230\234#\0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\220\26\3\0\0\0\0\0\220\26\3\0\0\0\0\0\220\26\3\0\0\0\0\0\f\20\0\0\0\0\0\0\f\20\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\t\2\0\0\'\2\0\0{\1\0\0\272\1\0\0\0\0\0\0J\0\0\0$\0\0\0\334\1\0\0\0\0\0\0\0\0\0\0\n\2\0\0\26\0\0\0F\1\0\0\0\0\0\0\0\0\0\0U\0\0\0\370\1\0\0\0\0\0\0\0\0\0\0\307\1\0\0M\1\0\0\204\0\0\0\237\1\0\0\0\0\0\0\0\0\0\0\321\0\0\0\24\0\0\0\234\1\0\0\376\0\0\0\266\0\0\0\0\0\0\0\270\0\0\0\0\0\0\0\247\1\0\0\34"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=2818114, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=480, st_size=241408, st_atime=2009/02/14-05:26:07, st_mtime=2008/02/23-18:39:14, st_ctime=2009/02/14-05:26:06}) = 0
6310 mmap(NULL, 2338176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2d54e000
6310 mprotect(0x7fae2d585000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2d784000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36000) = 0x7fae2d784000
6310 close(3) = 0
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libc.so.6", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\345\1\0\0\0\0\0@\0\0\0\0\0\0\0\270\333\26\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0F\0E\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\202\26\0\0\0\0\0\10\202\26\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0HF\0\0\0\0\0\0\210\213\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\273\26\0\0\0\0\0\2736\0\0\0\0\0`\2736\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0\20\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491525, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2944, st_size=1502520, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 3609304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2d1dc000
6310 mprotect(0x7fae2d345000, 2093056, PROT_NONE) = 0
6310 mmap(0x7fae2d544000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x168000) = 0x7fae2d544000 6310 mmap(0x7fae2d549000, 17112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fae2d549000
6310 close(3) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecbe000
6310 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6310 open("/lib/libdl.so.2", O_RDONLY) = 3
6310 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\r\0\0\0\0\0\0@\0\0\0\0\0\0\0\2201\0\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0\36\0\35\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\220\32\0\0\0\0\0\0\220\32\0\0\0\0\0\0\220\32\0\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\37\0\0\0\0\0\0\37\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0h-\0\0\0\0\0\0h- \0\0\0\0\0h- \0\0\0\0\0\30\3\0\0\0\0\0\0\230\3\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\240-\0\0\0\0\0\0\240- \0\0\0\0\0\240- \0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\254\32\0\0\0\0\0\0\254\32\0\0\0\0\0\0\254\32\0\0\0\0\0\0\264\0\0\0\0\0\0\0\264\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
6310 fstat(3, {st_dev=makedev(8, 30), st_ino=491528, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=32, st_size=14608, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6310 mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fae2cfd8000
6310 mprotect(0x7fae2cfda000, 2097152, PROT_NONE) = 0
6310 mmap(0x7fae2d1da000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fae2d1da000
6310 close(3) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecbd000 6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecbc000
6310 arch_prctl(ARCH_SET_FS, 0x7fae2ecbc6e0) = 0
6310 mprotect(0x7fae2d1da000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2d544000, 16384, PROT_READ) = 0
6310 mprotect(0x7fae2d98b000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2db93000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2ddb2000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2dfc9000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2e1f5000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2e40d000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2e61a000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2eab7000, 4096, PROT_READ) = 0
6310 mprotect(0x6e7000, 4096, PROT_READ) = 0
6310 mprotect(0x7fae2ecd7000, 4096, PROT_READ) = 0
6310 munmap(0x7fae2ecc2000, 72620) = 0
6310 set_tid_address(0x7fae2ecbc770) = 6310
6310 set_robust_list(0x7fae2ecbc780, 0x18) = 0
6310 futex(0x7fff36cd5dec, 0x81 /* FUTEX_??? */, 1) = 0
6310 rt_sigaction(SIGRTMIN, {0x7fae2e1fc660, [], SA_RESTORER|SA_SIGINFO, 0x7fae2e2060f0}, NULL, 8) = 0
6310 rt_sigaction(SIGRT_1, {0x7fae2e1fc6f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fae2e2060f0}, NULL, 8) = 0
6310 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
6310 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
6310 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
6310 setrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
6310 getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
6310 setrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
6310 setrlimit(RLIMIT_RSS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
6310 setrlimit(RLIMIT_MEMLOCK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "domid: 1\n", 9) = 9
6310 write(2, "qemu: the number of cpus is 1\n", 30) = 30
6310 clock_gettime(CLOCK_MONOTONIC, {179, 140243822}) = 0
6310 brk(0) = 0x2a0f000
6310 brk(0x2a30000) = 0x2a30000
6310 open("/dev/net/tun", O_RDWR) = 3
6310 ioctl(3, TUNSETIFF, 0x7fff36cd5390) = 0
6310 fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
6310 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fae2ecbc770) = 6412
6412 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
6412 close(4) = -1 EBADF (Bad file descriptor)
6412 close(5) = -1 EBADF (Bad file descriptor)
6412 close(6) = -1 EBADF (Bad file descriptor)
6412 close(7) = -1 EBADF (Bad file descriptor)
6412 close(8) = -1 EBADF (Bad file descriptor)
6412 close(9) = -1 EBADF (Bad file descriptor)
6412 close(10) = -1 EBADF (Bad file descriptor)
6412 close(11) = -1 EBADF (Bad file descriptor)
6412 close(12) = -1 EBADF (Bad file descriptor)
6412 close(13) = -1 EBADF (Bad file descriptor)
6412 close(14) = -1 EBADF (Bad file descriptor)
6412 close(15) = -1 EBADF (Bad file descriptor)
6412 close(16) = -1 EBADF (Bad file descriptor)
6412 close(17) = 0
6412 close(18) = 0
6412 close(19) = -1 EBADF (Bad file descriptor)
6412 close(20) = -1 EBADF (Bad file descriptor)
6412 close(21) = -1 EBADF (Bad file descriptor)
6412 close(22) = -1 EBADF (Bad file descriptor)
6412 close(23) = -1 EBADF (Bad file descriptor)
6412 close(24) = -1 EBADF (Bad file descriptor)
6412 close(25) = 0
6412 close(26) = -1 EBADF (Bad file descriptor)
6412 close(27) = -1 EBADF (Bad file descriptor)
6412 close(28) = -1 EBADF (Bad file descriptor)
6412 close(29) = -1 EBADF (Bad file descriptor)
6412 close(30) = -1 EBADF (Bad file descriptor)
6412 close(31) = -1 EBADF (Bad file descriptor)
6412 close(32) = -1 EBADF (Bad file descriptor)
6412 close(33) = -1 EBADF (Bad file descriptor)
6412 close(34) = -1 EBADF (Bad file descriptor)
6412 close(35) = -1 EBADF (Bad file descriptor)
6412 close(36) = -1 EBADF (Bad file descriptor)
6412 close(37) = -1 EBADF (Bad file descriptor)
6412 close(38) = -1 EBADF (Bad file descriptor)
6412 close(39) = -1 EBADF (Bad file descriptor)
6412 close(40) = -1 EBADF (Bad file descriptor)
6412 close(41) = -1 EBADF (Bad file descriptor)
6412 close(42) = -1 EBADF (Bad file descriptor)
6412 close(43) = -1 EBADF (Bad file descriptor)
6412 close(44) = -1 EBADF (Bad file descriptor)
6412 close(45) = -1 EBADF (Bad file descriptor)
6412 close(46) = -1 EBADF (Bad file descriptor)
6412 close(47) = -1 EBADF (Bad file descriptor)
6412 close(48) = -1 EBADF (Bad file descriptor)
6412 close(49) = -1 EBADF (Bad file descriptor)
6412 close(50) = -1 EBADF (Bad file descriptor)
6412 close(51) = -1 EBADF (Bad file descriptor)
6412 close(52) = -1 EBADF (Bad file descriptor)
6412 close(53) = -1 EBADF (Bad file descriptor)
6412 close(54) = -1 EBADF (Bad file descriptor)
6412 close(55) = -1 EBADF (Bad file descriptor)
6412 close(56) = -1 EBADF (Bad file descriptor)
6412 close(57) = -1 EBADF (Bad file descriptor)
6412 close(58) = -1 EBADF (Bad file descriptor)
6412 close(59) = -1 EBADF (Bad file descriptor)
6412 close(60) = -1 EBADF (Bad file descriptor)
6412 close(61) = -1 EBADF (Bad file descriptor)
6412 close(62) = -1 EBADF (Bad file descriptor)
6412 close(63) = -1 EBADF (Bad file descriptor)
6412 close(64) = -1 EBADF (Bad file descriptor)
6412 close(65) = -1 EBADF (Bad file descriptor)
6412 close(66) = -1 EBADF (Bad file descriptor)
6412 close(67) = -1 EBADF (Bad file descriptor)
6412 close(68) = -1 EBADF (Bad file descriptor)
6412 close(69) = -1 EBADF (Bad file descriptor)
6412 close(70) = -1 EBADF (Bad file descriptor)
6412 close(71) = -1 EBADF (Bad file descriptor)
6412 close(72) = -1 EBADF (Bad file descriptor)
6412 close(73) = -1 EBADF (Bad file descriptor)
6412 close(74) = -1 EBADF (Bad file descriptor)
6412 close(75) = -1 EBADF (Bad file descriptor)
6412 close(76) = -1 EBADF (Bad file descriptor)
6412 close(77) = -1 EBADF (Bad file descriptor)
6412 close(78) = -1 EBADF (Bad file descriptor)
6412 close(79) = -1 EBADF (Bad file descriptor)
6412 close(80) = -1 EBADF (Bad file descriptor)
6412 close(81) = -1 EBADF (Bad file descriptor)
6412 close(82) = -1 EBADF (Bad file descriptor)
6412 close(83) = -1 EBADF (Bad file descriptor)
6412 close(84) = -1 EBADF (Bad file descriptor)
6412 close(85) = -1 EBADF (Bad file descriptor)
6412 close(86) = -1 EBADF (Bad file descriptor)
6412 close(87) = -1 EBADF (Bad file descriptor)
6412 close(88) = -1 EBADF (Bad file descriptor)
6412 close(89) = -1 EBADF (Bad file descriptor)
6412 close(90) = -1 EBADF (Bad file descriptor)
6412 close(91) = -1 EBADF (Bad file descriptor)
6412 close(92) = -1 EBADF (Bad file descriptor)
6412 close(93) = -1 EBADF (Bad file descriptor)
6412 close(94) = -1 EBADF (Bad file descriptor)
6412 close(95) = -1 EBADF (Bad file descriptor)
6412 close(96) = -1 EBADF (Bad file descriptor)
6412 close(97) = -1 EBADF (Bad file descriptor)
6412 close(98) = -1 EBADF (Bad file descriptor)
6412 close(99) = -1 EBADF (Bad file descriptor)
6412 close(100) = -1 EBADF (Bad file descriptor)
6412 close(101) = -1 EBADF (Bad file descriptor)
6412 close(102) = -1 EBADF (Bad file descriptor)
6412 close(103) = -1 EBADF (Bad file descriptor)
6412 close(104) = -1 EBADF (Bad file descriptor)
6412 close(105) = -1 EBADF (Bad file descriptor)
6412 close(106) = -1 EBADF (Bad file descriptor)
6412 close(107) = -1 EBADF (Bad file descriptor)
6412 close(108) = -1 EBADF (Bad file descriptor)
6412 close(109) = -1 EBADF (Bad file descriptor)
6412 close(110) = -1 EBADF (Bad file descriptor)
6412 close(111) = -1 EBADF (Bad file descriptor)
6412 close(112) = -1 EBADF (Bad file descriptor)
6412 close(113) = -1 EBADF (Bad file descriptor)
6412 close(114) = -1 EBADF (Bad file descriptor)
6412 close(115) = -1 EBADF (Bad file descriptor)
6412 close(116) = -1 EBADF (Bad file descriptor)
6412 close(117) = -1 EBADF (Bad file descriptor)
6412 close(118) = -1 EBADF (Bad file descriptor)
6412 close(119) = -1 EBADF (Bad file descriptor)
6412 close(120) = -1 EBADF (Bad file descriptor)
6412 close(121) = -1 EBADF (Bad file descriptor)
6412 close(122) = -1 EBADF (Bad file descriptor)
6412 close(123) = -1 EBADF (Bad file descriptor)
6412 close(124) = -1 EBADF (Bad file descriptor)
6412 close(125) = -1 EBADF (Bad file descriptor)
6412 close(126) = -1 EBADF (Bad file descriptor)
6412 close(127) = -1 EBADF (Bad file descriptor)
6412 close(128) = -1 EBADF (Bad file descriptor)
6412 close(129) = -1 EBADF (Bad file descriptor)
6412 close(130) = -1 EBADF (Bad file descriptor)
6412 close(131) = -1 EBADF (Bad file descriptor)
6412 close(132) = -1 EBADF (Bad file descriptor)
6412 close(133) = -1 EBADF (Bad file descriptor)
6412 close(134) = -1 EBADF (Bad file descriptor)
6412 close(135) = -1 EBADF (Bad file descriptor)
6412 close(136) = -1 EBADF (Bad file descriptor)
6412 close(137) = -1 EBADF (Bad file descriptor)
6412 close(138) = -1 EBADF (Bad file descriptor)
6412 close(139) = -1 EBADF (Bad file descriptor)
6412 close(140) = -1 EBADF (Bad file descriptor)
6412 close(141) = -1 EBADF (Bad file descriptor)
6412 close(142) = -1 EBADF (Bad file descriptor)
6412 close(143) = -1 EBADF (Bad file descriptor)
6412 close(144) = -1 EBADF (Bad file descriptor)
6412 close(145) = -1 EBADF (Bad file descriptor)
6412 close(146) = -1 EBADF (Bad file descriptor)
6412 close(147) = -1 EBADF (Bad file descriptor)
6412 close(148) = -1 EBADF (Bad file descriptor)
6412 close(149) = -1 EBADF (Bad file descriptor)
6412 close(150) = -1 EBADF (Bad file descriptor)
6412 close(151) = -1 EBADF (Bad file descriptor)
6412 close(152) = -1 EBADF (Bad file descriptor)
6412 close(153) = -1 EBADF (Bad file descriptor)
6412 close(154) = -1 EBADF (Bad file descriptor)
6412 close(155) = -1 EBADF (Bad file descriptor)
6412 close(156) = -1 EBADF (Bad file descriptor)
6412 close(157) = -1 EBADF (Bad file descriptor)
6412 close(158) = -1 EBADF (Bad file descriptor)
6412 close(159) = -1 EBADF (Bad file descriptor)
6412 close(160) = -1 EBADF (Bad file descriptor)
6412 close(161) = -1 EBADF (Bad file descriptor)
6412 close(162) = -1 EBADF (Bad file descriptor)
6412 close(163) = -1 EBADF (Bad file descriptor)
6412 close(164) = -1 EBADF (Bad file descriptor)
6412 close(165) = -1 EBADF (Bad file descriptor)
6412 close(166) = -1 EBADF (Bad file descriptor)
6412 close(167) = -1 EBADF (Bad file descriptor)
6412 close(168) = -1 EBADF (Bad file descriptor)
6412 close(169) = -1 EBADF (Bad file descriptor)
6412 close(170) = -1 EBADF (Bad file descriptor)
6412 close(171) = -1 EBADF (Bad file descriptor)
6412 close(172) = -1 EBADF (Bad file descriptor)
6412 close(173) = -1 EBADF (Bad file descriptor)
6412 close(174) = -1 EBADF (Bad file descriptor)
6412 close(175) = -1 EBADF (Bad file descriptor)
6412 close(176) = -1 EBADF (Bad file descriptor)
6412 close(177) = -1 EBADF (Bad file descriptor)
6412 close(178) = -1 EBADF (Bad file descriptor)
6412 close(179) = -1 EBADF (Bad file descriptor)
6412 close(180) = -1 EBADF (Bad file descriptor)
6412 close(181) = -1 EBADF (Bad file descriptor)
6412 close(182) = -1 EBADF (Bad file descriptor)
6412 close(183) = -1 EBADF (Bad file descriptor)
6412 close(184) = -1 EBADF (Bad file descriptor)
6412 close(185) = -1 EBADF (Bad file descriptor)
6412 close(186) = -1 EBADF (Bad file descriptor)
6412 close(187) = -1 EBADF (Bad file descriptor)
6412 close(188) = -1 EBADF (Bad file descriptor)
6412 close(189) = -1 EBADF (Bad file descriptor)
6412 close(190) = -1 EBADF (Bad file descriptor)
6412 close(191) = -1 EBADF (Bad file descriptor)
6412 close(192) = -1 EBADF (Bad file descriptor)
6412 close(193) = -1 EBADF (Bad file descriptor)
6412 close(194) = -1 EBADF (Bad file descriptor)
6412 close(195) = -1 EBADF (Bad file descriptor)
6412 close(196) = -1 EBADF (Bad file descriptor)
6412 close(197) = -1 EBADF (Bad file descriptor)
6412 close(198) = -1 EBADF (Bad file descriptor)
6412 close(199) = -1 EBADF (Bad file descriptor)
6412 close(200) = -1 EBADF (Bad file descriptor)
6412 close(201) = -1 EBADF (Bad file descriptor)
6412 close(202) = -1 EBADF (Bad file descriptor)
6412 close(203) = -1 EBADF (Bad file descriptor)
6412 close(204) = -1 EBADF (Bad file descriptor)
6412 close(205) = -1 EBADF (Bad file descriptor)
6412 close(206) = -1 EBADF (Bad file descriptor)
6412 close(207) = -1 EBADF (Bad file descriptor)
6412 close(208) = -1 EBADF (Bad file descriptor)
6412 close(209) = -1 EBADF (Bad file descriptor)
6412 close(210) = -1 EBADF (Bad file descriptor)
6412 close(211) = -1 EBADF (Bad file descriptor)
6412 close(212) = -1 EBADF (Bad file descriptor)
6412 close(213) = -1 EBADF (Bad file descriptor)
6412 close(214) = -1 EBADF (Bad file descriptor)
6412 close(215) = -1 EBADF (Bad file descriptor)
6412 close(216) = -1 EBADF (Bad file descriptor)
6412 close(217) = -1 EBADF (Bad file descriptor)
6412 close(218) = -1 EBADF (Bad file descriptor)
6412 close(219) = -1 EBADF (Bad file descriptor)
6412 close(220) = -1 EBADF (Bad file descriptor)
6412 close(221) = -1 EBADF (Bad file descriptor)
6412 close(222) = -1 EBADF (Bad file descriptor)
6412 close(223) = -1 EBADF (Bad file descriptor)
6412 close(224) = -1 EBADF (Bad file descriptor)
6412 close(225) = -1 EBADF (Bad file descriptor)
6412 close(226) = -1 EBADF (Bad file descriptor)
6412 close(227) = -1 EBADF (Bad file descriptor)
6412 close(228) = -1 EBADF (Bad file descriptor)
6412 close(229) = -1 EBADF (Bad file descriptor)
6412 close(230) = -1 EBADF (Bad file descriptor)
6412 close(231) = -1 EBADF (Bad file descriptor)
6412 close(232) = -1 EBADF (Bad file descriptor)
6412 close(233) = -1 EBADF (Bad file descriptor)
6412 close(234) = -1 EBADF (Bad file descriptor)
6412 close(235) = -1 EBADF (Bad file descriptor)
6412 close(236) = -1 EBADF (Bad file descriptor)
6412 close(237) = -1 EBADF (Bad file descriptor)
6412 close(238) = -1 EBADF (Bad file descriptor)
6412 close(239) = -1 EBADF (Bad file descriptor)
6412 close(240) = -1 EBADF (Bad file descriptor)
6412 close(241) = -1 EBADF (Bad file descriptor)
6412 close(242) = -1 EBADF (Bad file descriptor)
6412 close(243) = -1 EBADF (Bad file descriptor)
6412 close(244) = -1 EBADF (Bad file descriptor)
6412 close(245) = -1 EBADF (Bad file descriptor)
6412 close(246) = -1 EBADF (Bad file descriptor)
6412 close(247) = -1 EBADF (Bad file descriptor)
6412 close(248) = -1 EBADF (Bad file descriptor)
6412 close(249) = -1 EBADF (Bad file descriptor)
6412 close(250) = -1 EBADF (Bad file descriptor)
6412 close(251) = -1 EBADF (Bad file descriptor)
6412 close(252) = -1 EBADF (Bad file descriptor)
6412 close(253) = -1 EBADF (Bad file descriptor)
6412 close(254) = -1 EBADF (Bad file descriptor)
6412 close(255) = -1 EBADF (Bad file descriptor)
6412 close(256) = -1 EBADF (Bad file descriptor)
6412 close(257) = -1 EBADF (Bad file descriptor)
6412 close(258) = -1 EBADF (Bad file descriptor)
6412 close(259) = -1 EBADF (Bad file descriptor)
6412 close(260) = -1 EBADF (Bad file descriptor)
6412 close(261) = -1 EBADF (Bad file descriptor)
6412 close(262) = -1 EBADF (Bad file descriptor)
6412 close(263) = -1 EBADF (Bad file descriptor)
6412 close(264) = -1 EBADF (Bad file descriptor)
6412 close(265) = -1 EBADF (Bad file descriptor)
6412 close(266) = -1 EBADF (Bad file descriptor)
6412 close(267) = -1 EBADF (Bad file descriptor)
6412 close(268) = -1 EBADF (Bad file descriptor)
6412 close(269) = -1 EBADF (Bad file descriptor)
6412 close(270) = -1 EBADF (Bad file descriptor)
6412 close(271) = -1 EBADF (Bad file descriptor)
6412 close(272) = -1 EBADF (Bad file descriptor)
6412 close(273) = -1 EBADF (Bad file descriptor)
6412 close(274) = -1 EBADF (Bad file descriptor)
6412 close(275) = -1 EBADF (Bad file descriptor)
6412 close(276) = -1 EBADF (Bad file descriptor)
6412 close(277) = -1 EBADF (Bad file descriptor)
6412 close(278) = -1 EBADF (Bad file descriptor)
6412 close(279) = -1 EBADF (Bad file descriptor)
6412 close(280) = -1 EBADF (Bad file descriptor)
6412 close(281) = -1 EBADF (Bad file descriptor)
6412 close(282) = -1 EBADF (Bad file descriptor)
6412 close(283) = -1 EBADF (Bad file descriptor)
6412 close(284) = -1 EBADF (Bad file descriptor)
6412 close(285) = -1 EBADF (Bad file descriptor)
6412 close(286) = -1 EBADF (Bad file descriptor)
6412 close(287) = -1 EBADF (Bad file descriptor)
6412 close(288) = -1 EBADF (Bad file descriptor)
6412 close(289) = -1 EBADF (Bad file descriptor)
6412 close(290) = -1 EBADF (Bad file descriptor)
6412 close(291) = -1 EBADF (Bad file descriptor)
6412 close(292) = -1 EBADF (Bad file descriptor)
6412 close(293) = -1 EBADF (Bad file descriptor)
6412 close(294) = -1 EBADF (Bad file descriptor)
6412 close(295) = -1 EBADF (Bad file descriptor)
6412 close(296) = -1 EBADF (Bad file descriptor)
6412 close(297) = -1 EBADF (Bad file descriptor)
6412 close(298) = -1 EBADF (Bad file descriptor)
6412 close(299) = -1 EBADF (Bad file descriptor)
6412 close(300) = -1 EBADF (Bad file descriptor)
6412 close(301) = -1 EBADF (Bad file descriptor)
6412 close(302) = -1 EBADF (Bad file descriptor)
6412 close(303) = -1 EBADF (Bad file descriptor)
6412 close(304) = -1 EBADF (Bad file descriptor)
6412 close(305) = -1 EBADF (Bad file descriptor)
6412 close(306) = -1 EBADF (Bad file descriptor)
6412 close(307) = -1 EBADF (Bad file descriptor)
6412 close(308) = -1 EBADF (Bad file descriptor)
6412 close(309) = -1 EBADF (Bad file descriptor)
6412 close(310) = -1 EBADF (Bad file descriptor)
6412 close(311) = -1 EBADF (Bad file descriptor)
6412 close(312) = -1 EBADF (Bad file descriptor)
6412 close(313) = -1 EBADF (Bad file descriptor)
6412 close(314) = -1 EBADF (Bad file descriptor)
6412 close(315) = -1 EBADF (Bad file descriptor)
6412 close(316) = -1 EBADF (Bad file descriptor)
6412 close(317) = -1 EBADF (Bad file descriptor)
6412 close(318) = -1 EBADF (Bad file descriptor)
6412 close(319) = -1 EBADF (Bad file descriptor)
6412 close(320) = -1 EBADF (Bad file descriptor)
6412 close(321) = -1 EBADF (Bad file descriptor)
6412 close(322) = -1 EBADF (Bad file descriptor)
6412 close(323) = -1 EBADF (Bad file descriptor)
6412 close(324) = -1 EBADF (Bad file descriptor)
6412 close(325) = -1 EBADF (Bad file descriptor)
6412 close(326) = -1 EBADF (Bad file descriptor)
6412 close(327) = -1 EBADF (Bad file descriptor)
6412 close(328) = -1 EBADF (Bad file descriptor)
6412 close(329) = -1 EBADF (Bad file descriptor)
6412 close(330) = -1 EBADF (Bad file descriptor)
6412 close(331) = -1 EBADF (Bad file descriptor)
6412 close(332) = -1 EBADF (Bad file descriptor)
6412 close(333) = -1 EBADF (Bad file descriptor)
6412 close(334) = -1 EBADF (Bad file descriptor)
6412 close(335) = -1 EBADF (Bad file descriptor)
6412 close(336) = -1 EBADF (Bad file descriptor)
6412 close(337) = -1 EBADF (Bad file descriptor)
6412 close(338) = -1 EBADF (Bad file descriptor)
6412 close(339) = -1 EBADF (Bad file descriptor)
6412 close(340) = -1 EBADF (Bad file descriptor)
6412 close(341) = -1 EBADF (Bad file descriptor)
6412 close(342) = -1 EBADF (Bad file descriptor)
6412 close(343) = -1 EBADF (Bad file descriptor)
6412 close(344) = -1 EBADF (Bad file descriptor)
6412 close(345) = -1 EBADF (Bad file descriptor)
6412 close(346) = -1 EBADF (Bad file descriptor)
6412 close(347) = -1 EBADF (Bad file descriptor)
6412 close(348) = -1 EBADF (Bad file descriptor)
6412 close(349) = -1 EBADF (Bad file descriptor)
6412 close(350) = -1 EBADF (Bad file descriptor)
6412 close(351) = -1 EBADF (Bad file descriptor)
6412 close(352) = -1 EBADF (Bad file descriptor)
6412 close(353) = -1 EBADF (Bad file descriptor)
6412 close(354) = -1 EBADF (Bad file descriptor)
6412 close(355) = -1 EBADF (Bad file descriptor)
6412 close(356) = -1 EBADF (Bad file descriptor)
6412 close(357) = -1 EBADF (Bad file descriptor)
6412 close(358) = -1 EBADF (Bad file descriptor)
6412 close(359) = -1 EBADF (Bad file descriptor)
6412 close(360) = -1 EBADF (Bad file descriptor)
6412 close(361) = -1 EBADF (Bad file descriptor)
6412 close(362) = -1 EBADF (Bad file descriptor)
6412 close(363) = -1 EBADF (Bad file descriptor)
6412 close(364) = -1 EBADF (Bad file descriptor)
6412 close(365) = -1 EBADF (Bad file descriptor)
6412 close(366) = -1 EBADF (Bad file descriptor)
6412 close(367) = -1 EBADF (Bad file descriptor)
6412 close(368) = -1 EBADF (Bad file descriptor)
6412 close(369) = -1 EBADF (Bad file descriptor)
6412 close(370) = -1 EBADF (Bad file descriptor)
6412 close(371) = -1 EBADF (Bad file descriptor)
6412 close(372) = -1 EBADF (Bad file descriptor)
6412 close(373) = -1 EBADF (Bad file descriptor)
6412 close(374) = -1 EBADF (Bad file descriptor)
6412 close(375) = -1 EBADF (Bad file descriptor)
6412 close(376) = -1 EBADF (Bad file descriptor)
6412 close(377) = -1 EBADF (Bad file descriptor)
6412 close(378) = -1 EBADF (Bad file descriptor)
6412 close(379) = -1 EBADF (Bad file descriptor)
6412 close(380) = -1 EBADF (Bad file descriptor)
6412 close(381) = -1 EBADF (Bad file descriptor)
6412 close(382) = -1 EBADF (Bad file descriptor)
6412 close(383) = -1 EBADF (Bad file descriptor)
6412 close(384) = -1 EBADF (Bad file descriptor)
6412 close(385) = -1 EBADF (Bad file descriptor)
6412 close(386) = -1 EBADF (Bad file descriptor)
6412 close(387) = -1 EBADF (Bad file descriptor)
6412 close(388) = -1 EBADF (Bad file descriptor)
6412 close(389) = -1 EBADF (Bad file descriptor)
6412 close(390) = -1 EBADF (Bad file descriptor)
6412 close(391) = -1 EBADF (Bad file descriptor)
6412 close(392) = -1 EBADF (Bad file descriptor)
6412 close(393) = -1 EBADF (Bad file descriptor)
6412 close(394) = -1 EBADF (Bad file descriptor)
6412 close(395) = -1 EBADF (Bad file descriptor)
6412 close(396) = -1 EBADF (Bad file descriptor)
6412 close(397) = -1 EBADF (Bad file descriptor)
6412 close(398) = -1 EBADF (Bad file descriptor)
6412 close(399) = -1 EBADF (Bad file descriptor)
6412 close(400) = -1 EBADF (Bad file descriptor)
6412 close(401) = -1 EBADF (Bad file descriptor)
6412 close(402) = -1 EBADF (Bad file descriptor)
6412 close(403) = -1 EBADF (Bad file descriptor)
6412 close(404) = -1 EBADF (Bad file descriptor)
6412 close(405) = -1 EBADF (Bad file descriptor)
6412 close(406) = -1 EBADF (Bad file descriptor)
6412 close(407) = -1 EBADF (Bad file descriptor)
6412 close(408) = -1 EBADF (Bad file descriptor)
6412 close(409) = -1 EBADF (Bad file descriptor)
6412 close(410) = -1 EBADF (Bad file descriptor)
6412 close(411) = -1 EBADF (Bad file descriptor)
6412 close(412) = -1 EBADF (Bad file descriptor)
6412 close(413) = -1 EBADF (Bad file descriptor)
6412 close(414) = -1 EBADF (Bad file descriptor)
6412 close(415) = -1 EBADF (Bad file descriptor)
6412 close(416) = -1 EBADF (Bad file descriptor)
6412 close(417) = -1 EBADF (Bad file descriptor)
6412 close(418) = -1 EBADF (Bad file descriptor)
6412 close(419) = -1 EBADF (Bad file descriptor)
6412 close(420) = -1 EBADF (Bad file descriptor)
6412 close(421) = -1 EBADF (Bad file descriptor)
6412 close(422) = -1 EBADF (Bad file descriptor)
6412 close(423) = -1 EBADF (Bad file descriptor)
6412 close(424) = -1 EBADF (Bad file descriptor)
6412 close(425) = -1 EBADF (Bad file descriptor)
6412 close(426) = -1 EBADF (Bad file descriptor)
6412 close(427) = -1 EBADF (Bad file descriptor)
6412 close(428) = -1 EBADF (Bad file descriptor)
6412 close(429) = -1 EBADF (Bad file descriptor)
6412 close(430) = -1 EBADF (Bad file descriptor)
6412 close(431) = -1 EBADF (Bad file descriptor)
6412 close(432) = -1 EBADF (Bad file descriptor)
6412 close(433) = -1 EBADF (Bad file descriptor)
6412 close(434) = -1 EBADF (Bad file descriptor)
6412 close(435) = -1 EBADF (Bad file descriptor)
6412 close(436) = -1 EBADF (Bad file descriptor)
6412 close(437) = -1 EBADF (Bad file descriptor)
6412 close(438) = -1 EBADF (Bad file descriptor)
6412 close(439) = -1 EBADF (Bad file descriptor)
6412 close(440) = -1 EBADF (Bad file descriptor)
6412 close(441) = -1 EBADF (Bad file descriptor)
6412 close(442) = -1 EBADF (Bad file descriptor)
6412 close(443) = -1 EBADF (Bad file descriptor)
6412 close(444) = -1 EBADF (Bad file descriptor)
6412 close(445) = -1 EBADF (Bad file descriptor)
6412 close(446) = -1 EBADF (Bad file descriptor)
6412 close(447) = -1 EBADF (Bad file descriptor)
6412 close(448) = -1 EBADF (Bad file descriptor)
6412 close(449) = -1 EBADF (Bad file descriptor)
6412 close(450) = -1 EBADF (Bad file descriptor)
6412 close(451) = -1 EBADF (Bad file descriptor)
6412 close(452) = -1 EBADF (Bad file descriptor)
6412 close(453) = -1 EBADF (Bad file descriptor)
6412 close(454) = -1 EBADF (Bad file descriptor)
6412 close(455) = -1 EBADF (Bad file descriptor)
6412 close(456) = -1 EBADF (Bad file descriptor)
6412 close(457) = -1 EBADF (Bad file descriptor)
6412 close(458) = -1 EBADF (Bad file descriptor)
6412 close(459) = -1 EBADF (Bad file descriptor)
6412 close(460) = -1 EBADF (Bad file descriptor)
6412 close(461) = -1 EBADF (Bad file descriptor)
6412 close(462) = -1 EBADF (Bad file descriptor)
6412 close(463) = -1 EBADF (Bad file descriptor)
6412 close(464) = -1 EBADF (Bad file descriptor)
6412 close(465) = -1 EBADF (Bad file descriptor)
6412 close(466) = -1 EBADF (Bad file descriptor)
6412 close(467) = -1 EBADF (Bad file descriptor)
6412 close(468) = -1 EBADF (Bad file descriptor)
6412 close(469) = -1 EBADF (Bad file descriptor)
6412 close(470) = -1 EBADF (Bad file descriptor)
6412 close(471) = -1 EBADF (Bad file descriptor)
6412 close(472) = -1 EBADF (Bad file descriptor)
6412 close(473) = -1 EBADF (Bad file descriptor)
6412 close(474) = -1 EBADF (Bad file descriptor)
6412 close(475) = -1 EBADF (Bad file descriptor)
6412 close(476) = -1 EBADF (Bad file descriptor)
6412 close(477) = -1 EBADF (Bad file descriptor)
6412 close(478) = -1 EBADF (Bad file descriptor)
6412 close(479) = -1 EBADF (Bad file descriptor)
6412 close(480) = -1 EBADF (Bad file descriptor)
6412 close(481) = -1 EBADF (Bad file descriptor)
6412 close(482) = -1 EBADF (Bad file descriptor)
6412 close(483) = -1 EBADF (Bad file descriptor)
6412 close(484) = -1 EBADF (Bad file descriptor)
6412 close(485) = -1 EBADF (Bad file descriptor)
6412 close(486) = -1 EBADF (Bad file descriptor)
6412 close(487) = -1 EBADF (Bad file descriptor)
6412 close(488) = -1 EBADF (Bad file descriptor)
6412 close(489) = -1 EBADF (Bad file descriptor)
6412 close(490) = -1 EBADF (Bad file descriptor)
6412 close(491) = -1 EBADF (Bad file descriptor)
6412 close(492) = -1 EBADF (Bad file descriptor)
6412 close(493) = -1 EBADF (Bad file descriptor)
6412 close(494) = -1 EBADF (Bad file descriptor)
6412 close(495) = -1 EBADF (Bad file descriptor)
6412 close(496) = -1 EBADF (Bad file descriptor)
6412 close(497) = -1 EBADF (Bad file descriptor)
6412 close(498) = -1 EBADF (Bad file descriptor)
6412 close(499) = -1 EBADF (Bad file descriptor)
6412 close(500) = -1 EBADF (Bad file descriptor)
6412 close(501) = -1 EBADF (Bad file descriptor)
6412 close(502) = -1 EBADF (Bad file descriptor)
6412 close(503) = -1 EBADF (Bad file descriptor)
6412 close(504) = -1 EBADF (Bad file descriptor)
6412 close(505) = -1 EBADF (Bad file descriptor)
6412 close(506) = -1 EBADF (Bad file descriptor)
6412 close(507) = -1 EBADF (Bad file descriptor)
6412 close(508) = -1 EBADF (Bad file descriptor)
6412 close(509) = -1 EBADF (Bad file descriptor)
6412 close(510) = -1 EBADF (Bad file descriptor)
6412 close(511) = -1 EBADF (Bad file descriptor)
6412 close(512) = -1 EBADF (Bad file descriptor)
6412 close(513) = -1 EBADF (Bad file descriptor)
6412 close(514) = -1 EBADF (Bad file descriptor)
6412 close(515) = -1 EBADF (Bad file descriptor)
6412 close(516) = -1 EBADF (Bad file descriptor)
6412 close(517) = -1 EBADF (Bad file descriptor)
6412 close(518) = -1 EBADF (Bad file descriptor)
6412 close(519) = -1 EBADF (Bad file descriptor)
6412 close(520) = -1 EBADF (Bad file descriptor)
6412 close(521) = -1 EBADF (Bad file descriptor)
6412 close(522) = -1 EBADF (Bad file descriptor)
6412 close(523) = -1 EBADF (Bad file descriptor)
6412 close(524) = -1 EBADF (Bad file descriptor)
6412 close(525) = -1 EBADF (Bad file descriptor)
6412 close(526) = -1 EBADF (Bad file descriptor)
6412 close(527) = -1 EBADF (Bad file descriptor)
6412 close(528) = -1 EBADF (Bad file descriptor)
6412 close(529) = -1 EBADF (Bad file descriptor)
6412 close(530) = -1 EBADF (Bad file descriptor)
6412 close(531) = -1 EBADF (Bad file descriptor)
6412 close(532) = -1 EBADF (Bad file descriptor)
6412 close(533) = -1 EBADF (Bad file descriptor)
6412 close(534) = -1 EBADF (Bad file descriptor)
6412 close(535) = -1 EBADF (Bad file descriptor)
6412 close(536) = -1 EBADF (Bad file descriptor)
6412 close(537) = -1 EBADF (Bad file descriptor)
6412 close(538) = -1 EBADF (Bad file descriptor)
6412 close(539) = -1 EBADF (Bad file descriptor)
6412 close(540) = -1 EBADF (Bad file descriptor)
6412 close(541) = -1 EBADF (Bad file descriptor)
6412 close(542) = -1 EBADF (Bad file descriptor)
6412 close(543) = -1 EBADF (Bad file descriptor)
6412 close(544) = -1 EBADF (Bad file descriptor)
6412 close(545) = -1 EBADF (Bad file descriptor)
6412 close(546) = -1 EBADF (Bad file descriptor)
6412 close(547) = -1 EBADF (Bad file descriptor)
6412 close(548) = -1 EBADF (Bad file descriptor)
6412 close(549) = -1 EBADF (Bad file descriptor)
6412 close(550) = -1 EBADF (Bad file descriptor)
6412 close(551) = -1 EBADF (Bad file descriptor)
6412 close(552) = -1 EBADF (Bad file descriptor)
6412 close(553) = -1 EBADF (Bad file descriptor)
6412 close(554) = -1 EBADF (Bad file descriptor)
6412 close(555) = -1 EBADF (Bad file descriptor)
6412 close(556) = -1 EBADF (Bad file descriptor)
6412 close(557) = -1 EBADF (Bad file descriptor)
6412 close(558) = -1 EBADF (Bad file descriptor)
6412 close(559) = -1 EBADF (Bad file descriptor)
6412 close(560) = -1 EBADF (Bad file descriptor)
6412 close(561) = -1 EBADF (Bad file descriptor)
6412 close(562) = -1 EBADF (Bad file descriptor)
6412 close(563) = -1 EBADF (Bad file descriptor)
6412 close(564) = -1 EBADF (Bad file descriptor)
6412 close(565) = -1 EBADF (Bad file descriptor)
6412 close(566) = -1 EBADF (Bad file descriptor)
6412 close(567) = -1 EBADF (Bad file descriptor)
6412 close(568) = -1 EBADF (Bad file descriptor)
6412 close(569) = -1 EBADF (Bad file descriptor)
6412 close(570) = -1 EBADF (Bad file descriptor)
6412 close(571) = -1 EBADF (Bad file descriptor)
6412 close(572) = -1 EBADF (Bad file descriptor)
6412 close(573) = -1 EBADF (Bad file descriptor)
6412 close(574) = -1 EBADF (Bad file descriptor)
6412 close(575) = -1 EBADF (Bad file descriptor)
6412 close(576) = -1 EBADF (Bad file descriptor)
6412 close(577) = -1 EBADF (Bad file descriptor)
6412 close(578) = -1 EBADF (Bad file descriptor)
6412 close(579) = -1 EBADF (Bad file descriptor)
6412 close(580) = -1 EBADF (Bad file descriptor)
6412 close(581) = -1 EBADF (Bad file descriptor)
6412 close(582) = -1 EBADF (Bad file descriptor)
6412 close(583) = -1 EBADF (Bad file descriptor)
6412 close(584) = -1 EBADF (Bad file descriptor)
6412 close(585) = -1 EBADF (Bad file descriptor)
6412 close(586) = -1 EBADF (Bad file descriptor)
6412 close(587) = -1 EBADF (Bad file descriptor)
6412 close(588) = -1 EBADF (Bad file descriptor)
6412 close(589) = -1 EBADF (Bad file descriptor)
6412 close(590) = -1 EBADF (Bad file descriptor)
6412 close(591) = -1 EBADF (Bad file descriptor)
6412 close(592) = -1 EBADF (Bad file descriptor)
6412 close(593) = -1 EBADF (Bad file descriptor)
6412 close(594) = -1 EBADF (Bad file descriptor)
6412 close(595) = -1 EBADF (Bad file descriptor)
6412 close(596) = -1 EBADF (Bad file descriptor)
6412 close(597) = -1 EBADF (Bad file descriptor)
6412 close(598) = -1 EBADF (Bad file descriptor)
6412 close(599) = -1 EBADF (Bad file descriptor)
6412 close(600) = -1 EBADF (Bad file descriptor)
6412 close(601) = -1 EBADF (Bad file descriptor)
6412 close(602) = -1 EBADF (Bad file descriptor)
6412 close(603) = -1 EBADF (Bad file descriptor)
6412 close(604) = -1 EBADF (Bad file descriptor)
6412 close(605) = -1 EBADF (Bad file descriptor)
6412 close(606) = -1 EBADF (Bad file descriptor)
6412 close(607) = -1 EBADF (Bad file descriptor)
6412 close(608) = -1 EBADF (Bad file descriptor)
6412 close(609) = -1 EBADF (Bad file descriptor)
6412 close(610) = -1 EBADF (Bad file descriptor)
6412 close(611) = -1 EBADF (Bad file descriptor)
6412 close(612) = -1 EBADF (Bad file descriptor)
6412 close(613) = -1 EBADF (Bad file descriptor)
6412 close(614) = -1 EBADF (Bad file descriptor)
6412 close(615) = -1 EBADF (Bad file descriptor)
6412 close(616) = -1 EBADF (Bad file descriptor)
6412 close(617) = -1 EBADF (Bad file descriptor)
6412 close(618) = -1 EBADF (Bad file descriptor)
6412 close(619) = -1 EBADF (Bad file descriptor)
6412 close(620) = -1 EBADF (Bad file descriptor)
6412 close(621) = -1 EBADF (Bad file descriptor)
6412 close(622) = -1 EBADF (Bad file descriptor)
6412 close(623) = -1 EBADF (Bad file descriptor)
6412 close(624) = -1 EBADF (Bad file descriptor)
6412 close(625) = -1 EBADF (Bad file descriptor)
6412 close(626) = -1 EBADF (Bad file descriptor)
6412 close(627) = -1 EBADF (Bad file descriptor)
6412 close(628) = -1 EBADF (Bad file descriptor)
6412 close(629) = -1 EBADF (Bad file descriptor)
6412 close(630) = -1 EBADF (Bad file descriptor)
6412 close(631) = -1 EBADF (Bad file descriptor)
6412 close(632) = -1 EBADF (Bad file descriptor)
6412 close(633) = -1 EBADF (Bad file descriptor)
6412 close(634) = -1 EBADF (Bad file descriptor)
6412 close(635) = -1 EBADF (Bad file descriptor)
6412 close(636) = -1 EBADF (Bad file descriptor)
6412 close(637) = -1 EBADF (Bad file descriptor)
6412 close(638) = -1 EBADF (Bad file descriptor)
6412 close(639) = -1 EBADF (Bad file descriptor)
6412 close(640) = -1 EBADF (Bad file descriptor)
6412 close(641) = -1 EBADF (Bad file descriptor)
6412 close(642) = -1 EBADF (Bad file descriptor)
6412 close(643) = -1 EBADF (Bad file descriptor)
6412 close(644) = -1 EBADF (Bad file descriptor)
6412 close(645) = -1 EBADF (Bad file descriptor)
6412 close(646) = -1 EBADF (Bad file descriptor)
6412 close(647) = -1 EBADF (Bad file descriptor)
6412 close(648) = -1 EBADF (Bad file descriptor)
6412 close(649) = -1 EBADF (Bad file descriptor)
6412 close(650) = -1 EBADF (Bad file descriptor)
6412 close(651) = -1 EBADF (Bad file descriptor)
6412 close(652) = -1 EBADF (Bad file descriptor)
6412 close(653) = -1 EBADF (Bad file descriptor)
6412 close(654) = -1 EBADF (Bad file descriptor)
6412 close(655) = -1 EBADF (Bad file descriptor)
6412 close(656) = -1 EBADF (Bad file descriptor)
6412 close(657) = -1 EBADF (Bad file descriptor)
6412 close(658) = -1 EBADF (Bad file descriptor)
6412 close(659) = -1 EBADF (Bad file descriptor)
6412 close(660) = -1 EBADF (Bad file descriptor)
6412 close(661) = -1 EBADF (Bad file descriptor)
6412 close(662) = -1 EBADF (Bad file descriptor)
6412 close(663) = -1 EBADF (Bad file descriptor)
6412 close(664) = -1 EBADF (Bad file descriptor)
6412 close(665) = -1 EBADF (Bad file descriptor)
6412 close(666) = -1 EBADF (Bad file descriptor)
6412 close(667) = -1 EBADF (Bad file descriptor)
6412 close(668) = -1 EBADF (Bad file descriptor)
6412 close(669) = -1 EBADF (Bad file descriptor)
6412 close(670) = -1 EBADF (Bad file descriptor)
6412 close(671) = -1 EBADF (Bad file descriptor)
6412 close(672) = -1 EBADF (Bad file descriptor)
6412 close(673) = -1 EBADF (Bad file descriptor)
6412 close(674) = -1 EBADF (Bad file descriptor)
6412 close(675) = -1 EBADF (Bad file descriptor)
6412 close(676) = -1 EBADF (Bad file descriptor)
6412 close(677) = -1 EBADF (Bad file descriptor)
6412 close(678) = -1 EBADF (Bad file descriptor)
6412 close(679) = -1 EBADF (Bad file descriptor)
6412 close(680) = -1 EBADF (Bad file descriptor)
6412 close(681) = -1 EBADF (Bad file descriptor)
6412 close(682) = -1 EBADF (Bad file descriptor)
6412 close(683) = -1 EBADF (Bad file descriptor)
6412 close(684) = -1 EBADF (Bad file descriptor)
6412 close(685) = -1 EBADF (Bad file descriptor)
6412 close(686) = -1 EBADF (Bad file descriptor)
6412 close(687) = -1 EBADF (Bad file descriptor)
6412 close(688) = -1 EBADF (Bad file descriptor)
6412 close(689) = -1 EBADF (Bad file descriptor)
6412 close(690) = -1 EBADF (Bad file descriptor)
6412 close(691) = -1 EBADF (Bad file descriptor)
6412 close(692) = -1 EBADF (Bad file descriptor)
6412 close(693) = -1 EBADF (Bad file descriptor)
6412 close(694) = -1 EBADF (Bad file descriptor)
6412 close(695) = -1 EBADF (Bad file descriptor)
6412 close(696) = -1 EBADF (Bad file descriptor)
6412 close(697) = -1 EBADF (Bad file descriptor)
6412 close(698) = -1 EBADF (Bad file descriptor)
6412 close(699) = -1 EBADF (Bad file descriptor)
6412 close(700) = -1 EBADF (Bad file descriptor)
6412 close(701) = -1 EBADF (Bad file descriptor)
6412 close(702) = -1 EBADF (Bad file descriptor)
6412 close(703) = -1 EBADF (Bad file descriptor)
6412 close(704) = -1 EBADF (Bad file descriptor)
6412 close(705) = -1 EBADF (Bad file descriptor)
6412 close(706) = -1 EBADF (Bad file descriptor)
6412 close(707) = -1 EBADF (Bad file descriptor)
6412 close(708) = -1 EBADF (Bad file descriptor)
6412 close(709) = -1 EBADF (Bad file descriptor)
6412 close(710) = -1 EBADF (Bad file descriptor)
6412 close(711) = -1 EBADF (Bad file descriptor)
6412 close(712) = -1 EBADF (Bad file descriptor)
6412 close(713) = -1 EBADF (Bad file descriptor)
6412 close(714) = -1 EBADF (Bad file descriptor)
6412 close(715) = -1 EBADF (Bad file descriptor)
6412 close(716) = -1 EBADF (Bad file descriptor)
6412 close(717) = -1 EBADF (Bad file descriptor)
6412 close(718) = -1 EBADF (Bad file descriptor)
6412 close(719) = -1 EBADF (Bad file descriptor)
6412 close(720) = -1 EBADF (Bad file descriptor)
6412 close(721) = -1 EBADF (Bad file descriptor)
6412 close(722) = -1 EBADF (Bad file descriptor)
6412 close(723) = -1 EBADF (Bad file descriptor)
6412 close(724) = -1 EBADF (Bad file descriptor)
6412 close(725) = -1 EBADF (Bad file descriptor)
6412 close(726) = -1 EBADF (Bad file descriptor)
6412 close(727) = -1 EBADF (Bad file descriptor)
6412 close(728) = -1 EBADF (Bad file descriptor)
6412 close(729) = -1 EBADF (Bad file descriptor)
6412 close(730) = -1 EBADF (Bad file descriptor)
6412 close(731) = -1 EBADF (Bad file descriptor)
6412 close(732) = -1 EBADF (Bad file descriptor)
6412 close(733) = -1 EBADF (Bad file descriptor)
6412 close(734) = -1 EBADF (Bad file descriptor)
6412 close(735) = -1 EBADF (Bad file descriptor)
6412 close(736) = -1 EBADF (Bad file descriptor)
6412 close(737) = -1 EBADF (Bad file descriptor)
6412 close(738) = -1 EBADF (Bad file descriptor)
6412 close(739) = -1 EBADF (Bad file descriptor)
6412 close(740) = -1 EBADF (Bad file descriptor)
6412 close(741) = -1 EBADF (Bad file descriptor)
6412 close(742) = -1 EBADF (Bad file descriptor)
6412 close(743) = -1 EBADF (Bad file descriptor)
6412 close(744) = -1 EBADF (Bad file descriptor)
6412 close(745) = -1 EBADF (Bad file descriptor)
6412 close(746) = -1 EBADF (Bad file descriptor)
6412 close(747) = -1 EBADF (Bad file descriptor)
6412 close(748) = -1 EBADF (Bad file descriptor)
6412 close(749) = -1 EBADF (Bad file descriptor)
6412 close(750) = -1 EBADF (Bad file descriptor)
6412 close(751) = -1 EBADF (Bad file descriptor)
6412 close(752) = -1 EBADF (Bad file descriptor)
6412 close(753) = -1 EBADF (Bad file descriptor)
6412 close(754) = -1 EBADF (Bad file descriptor)
6412 close(755) = -1 EBADF (Bad file descriptor)
6412 close(756) = -1 EBADF (Bad file descriptor)
6412 close(757) = -1 EBADF (Bad file descriptor)
6412 close(758) = -1 EBADF (Bad file descriptor)
6412 close(759) = -1 EBADF (Bad file descriptor)
6412 close(760) = -1 EBADF (Bad file descriptor)
6412 close(761) = -1 EBADF (Bad file descriptor)
6412 close(762) = -1 EBADF (Bad file descriptor)
6412 close(763) = -1 EBADF (Bad file descriptor)
6412 close(764) = -1 EBADF (Bad file descriptor)
6412 close(765) = -1 EBADF (Bad file descriptor)
6412 close(766) = -1 EBADF (Bad file descriptor)
6412 close(767) = -1 EBADF (Bad file descriptor)
6412 close(768) = -1 EBADF (Bad file descriptor)
6412 close(769) = -1 EBADF (Bad file descriptor)
6412 close(770) = -1 EBADF (Bad file descriptor)
6412 close(771) = -1 EBADF (Bad file descriptor)
6412 close(772) = -1 EBADF (Bad file descriptor)
6412 close(773) = -1 EBADF (Bad file descriptor)
6412 close(774) = -1 EBADF (Bad file descriptor)
6412 close(775) = -1 EBADF (Bad file descriptor)
6412 close(776) = -1 EBADF (Bad file descriptor)
6412 close(777) = -1 EBADF (Bad file descriptor)
6412 close(778) = -1 EBADF (Bad file descriptor)
6412 close(779) = -1 EBADF (Bad file descriptor)
6412 close(780) = -1 EBADF (Bad file descriptor)
6412 close(781) = -1 EBADF (Bad file descriptor)
6412 close(782) = -1 EBADF (Bad file descriptor)
6412 close(783) = -1 EBADF (Bad file descriptor)
6412 close(784) = -1 EBADF (Bad file descriptor)
6412 close(785) = -1 EBADF (Bad file descriptor)
6412 close(786) = -1 EBADF (Bad file descriptor)
6412 close(787) = -1 EBADF (Bad file descriptor)
6412 close(788) = -1 EBADF (Bad file descriptor)
6412 close(789) = -1 EBADF (Bad file descriptor)
6412 close(790) = -1 EBADF (Bad file descriptor)
6412 close(791) = -1 EBADF (Bad file descriptor)
6412 close(792) = -1 EBADF (Bad file descriptor)
6412 close(793) = -1 EBADF (Bad file descriptor)
6412 close(794) = -1 EBADF (Bad file descriptor)
6412 close(795) = -1 EBADF (Bad file descriptor)
6412 close(796) = -1 EBADF (Bad file descriptor)
6412 close(797) = -1 EBADF (Bad file descriptor)
6412 close(798) = -1 EBADF (Bad file descriptor)
6412 close(799) = -1 EBADF (Bad file descriptor)
6412 close(800) = -1 EBADF (Bad file descriptor)
6412 close(801) = -1 EBADF (Bad file descriptor)
6412 close(802) = -1 EBADF (Bad file descriptor)
6412 close(803) = -1 EBADF (Bad file descriptor)
6412 close(804) = -1 EBADF (Bad file descriptor)
6412 close(805) = -1 EBADF (Bad file descriptor)
6412 close(806) = -1 EBADF (Bad file descriptor)
6412 close(807) = -1 EBADF (Bad file descriptor)
6412 close(808) = -1 EBADF (Bad file descriptor)
6412 close(809) = -1 EBADF (Bad file descriptor)
6412 close(810) = -1 EBADF (Bad file descriptor)
6412 close(811) = -1 EBADF (Bad file descriptor)
6412 close(812) = -1 EBADF (Bad file descriptor)
6412 close(813) = -1 EBADF (Bad file descriptor)
6412 close(814) = -1 EBADF (Bad file descriptor)
6412 close(815) = -1 EBADF (Bad file descriptor)
6412 close(816) = -1 EBADF (Bad file descriptor)
6412 close(817) = -1 EBADF (Bad file descriptor)
6412 close(818) = -1 EBADF (Bad file descriptor)
6412 close(819) = -1 EBADF (Bad file descriptor)
6412 close(820) = -1 EBADF (Bad file descriptor)
6412 close(821) = -1 EBADF (Bad file descriptor)
6412 close(822) = -1 EBADF (Bad file descriptor)
6412 close(823) = -1 EBADF (Bad file descriptor)
6412 close(824) = -1 EBADF (Bad file descriptor)
6412 close(825) = -1 EBADF (Bad file descriptor)
6412 close(826) = -1 EBADF (Bad file descriptor)
6412 close(827) = -1 EBADF (Bad file descriptor)
6412 close(828) = -1 EBADF (Bad file descriptor)
6412 close(829) = -1 EBADF (Bad file descriptor)
6412 close(830) = -1 EBADF (Bad file descriptor)
6412 close(831) = -1 EBADF (Bad file descriptor)
6412 close(832) = -1 EBADF (Bad file descriptor)
6412 close(833) = -1 EBADF (Bad file descriptor)
6412 close(834) = -1 EBADF (Bad file descriptor)
6412 close(835) = -1 EBADF (Bad file descriptor)
6412 close(836) = -1 EBADF (Bad file descriptor)
6412 close(837) = -1 EBADF (Bad file descriptor)
6412 close(838) = -1 EBADF (Bad file descriptor)
6412 close(839) = -1 EBADF (Bad file descriptor)
6412 close(840) = -1 EBADF (Bad file descriptor)
6412 close(841) = -1 EBADF (Bad file descriptor)
6412 close(842) = -1 EBADF (Bad file descriptor)
6412 close(843) = -1 EBADF (Bad file descriptor)
6412 close(844) = -1 EBADF (Bad file descriptor)
6412 close(845) = -1 EBADF (Bad file descriptor)
6412 close(846) = -1 EBADF (Bad file descriptor)
6412 close(847) = -1 EBADF (Bad file descriptor)
6412 close(848) = -1 EBADF (Bad file descriptor)
6412 close(849) = -1 EBADF (Bad file descriptor)
6412 close(850) = -1 EBADF (Bad file descriptor)
6412 close(851) = -1 EBADF (Bad file descriptor)
6412 close(852) = -1 EBADF (Bad file descriptor)
6412 close(853) = -1 EBADF (Bad file descriptor)
6412 close(854) = -1 EBADF (Bad file descriptor)
6412 close(855) = -1 EBADF (Bad file descriptor)
6412 close(856) = -1 EBADF (Bad file descriptor)
6412 close(857) = -1 EBADF (Bad file descriptor)
6412 close(858) = -1 EBADF (Bad file descriptor)
6412 close(859) = -1 EBADF (Bad file descriptor)
6412 close(860) = -1 EBADF (Bad file descriptor)
6412 close(861) = -1 EBADF (Bad file descriptor)
6412 close(862) = -1 EBADF (Bad file descriptor)
6412 close(863) = -1 EBADF (Bad file descriptor)
6412 close(864) = -1 EBADF (Bad file descriptor)
6412 close(865) = -1 EBADF (Bad file descriptor)
6412 close(866) = -1 EBADF (Bad file descriptor)
6412 close(867) = -1 EBADF (Bad file descriptor)
6412 close(868) = -1 EBADF (Bad file descriptor)
6412 close(869) = -1 EBADF (Bad file descriptor)
6412 close(870) = -1 EBADF (Bad file descriptor)
6412 close(871) = -1 EBADF (Bad file descriptor)
6412 close(872) = -1 EBADF (Bad file descriptor)
6412 close(873) = -1 EBADF (Bad file descriptor)
6412 close(874) = -1 EBADF (Bad file descriptor)
6412 close(875) = -1 EBADF (Bad file descriptor)
6412 close(876) = -1 EBADF (Bad file descriptor)
6412 close(877) = -1 EBADF (Bad file descriptor)
6412 close(878) = -1 EBADF (Bad file descriptor)
6412 close(879) = -1 EBADF (Bad file descriptor)
6412 close(880) = -1 EBADF (Bad file descriptor)
6412 close(881) = -1 EBADF (Bad file descriptor)
6412 close(882) = -1 EBADF (Bad file descriptor)
6412 close(883) = -1 EBADF (Bad file descriptor)
6412 close(884) = -1 EBADF (Bad file descriptor)
6412 close(885) = -1 EBADF (Bad file descriptor)
6412 close(886) = -1 EBADF (Bad file descriptor)
6412 close(887) = -1 EBADF (Bad file descriptor)
6412 close(888) = -1 EBADF (Bad file descriptor)
6412 close(889) = -1 EBADF (Bad file descriptor)
6412 close(890) = -1 EBADF (Bad file descriptor)
6412 close(891) = -1 EBADF (Bad file descriptor)
6412 close(892) = -1 EBADF (Bad file descriptor)
6412 close(893) = -1 EBADF (Bad file descriptor)
6412 close(894) = -1 EBADF (Bad file descriptor)
6412 close(895) = -1 EBADF (Bad file descriptor)
6412 close(896) = -1 EBADF (Bad file descriptor)
6412 close(897) = -1 EBADF (Bad file descriptor)
6412 close(898) = -1 EBADF (Bad file descriptor)
6412 close(899) = -1 EBADF (Bad file descriptor)
6412 close(900) = -1 EBADF (Bad file descriptor)
6412 close(901) = -1 EBADF (Bad file descriptor)
6412 close(902) = -1 EBADF (Bad file descriptor)
6412 close(903) = -1 EBADF (Bad file descriptor)
6412 close(904) = -1 EBADF (Bad file descriptor)
6412 close(905) = -1 EBADF (Bad file descriptor)
6412 close(906) = -1 EBADF (Bad file descriptor)
6412 close(907) = -1 EBADF (Bad file descriptor)
6412 close(908) = -1 EBADF (Bad file descriptor)
6412 close(909) = -1 EBADF (Bad file descriptor)
6412 close(910) = -1 EBADF (Bad file descriptor)
6412 close(911) = -1 EBADF (Bad file descriptor)
6412 close(912) = -1 EBADF (Bad file descriptor)
6412 close(913) = -1 EBADF (Bad file descriptor)
6412 close(914) = -1 EBADF (Bad file descriptor)
6412 close(915) = -1 EBADF (Bad file descriptor)
6412 close(916) = -1 EBADF (Bad file descriptor)
6412 close(917) = -1 EBADF (Bad file descriptor)
6412 close(918) = -1 EBADF (Bad file descriptor)
6412 close(919) = -1 EBADF (Bad file descriptor)
6412 close(920) = -1 EBADF (Bad file descriptor)
6412 close(921) = -1 EBADF (Bad file descriptor)
6412 close(922) = -1 EBADF (Bad file descriptor)
6412 close(923) = -1 EBADF (Bad file descriptor)
6412 close(924) = -1 EBADF (Bad file descriptor)
6412 close(925) = -1 EBADF (Bad file descriptor)
6412 close(926) = -1 EBADF (Bad file descriptor)
6412 close(927) = -1 EBADF (Bad file descriptor)
6412 close(928) = -1 EBADF (Bad file descriptor)
6412 close(929) = -1 EBADF (Bad file descriptor)
6412 close(930) = -1 EBADF (Bad file descriptor)
6412 close(931) = -1 EBADF (Bad file descriptor)
6412 close(932) = -1 EBADF (Bad file descriptor)
6412 close(933) = -1 EBADF (Bad file descriptor)
6412 close(934) = -1 EBADF (Bad file descriptor)
6412 close(935) = -1 EBADF (Bad file descriptor)
6412 close(936) = -1 EBADF (Bad file descriptor)
6412 close(937) = -1 EBADF (Bad file descriptor)
6412 close(938) = -1 EBADF (Bad file descriptor)
6412 close(939) = -1 EBADF (Bad file descriptor)
6412 close(940) = -1 EBADF (Bad file descriptor)
6412 close(941) = -1 EBADF (Bad file descriptor)
6412 close(942) = -1 EBADF (Bad file descriptor)
6412 close(943) = -1 EBADF (Bad file descriptor)
6412 close(944) = -1 EBADF (Bad file descriptor)
6412 close(945) = -1 EBADF (Bad file descriptor)
6412 close(946) = -1 EBADF (Bad file descriptor)
6412 close(947) = -1 EBADF (Bad file descriptor)
6412 close(948) = -1 EBADF (Bad file descriptor)
6412 close(949) = -1 EBADF (Bad file descriptor)
6412 close(950) = -1 EBADF (Bad file descriptor)
6412 close(951) = -1 EBADF (Bad file descriptor)
6412 close(952) = -1 EBADF (Bad file descriptor)
6412 close(953) = -1 EBADF (Bad file descriptor)
6412 close(954) = -1 EBADF (Bad file descriptor)
6412 close(955) = -1 EBADF (Bad file descriptor)
6412 close(956) = -1 EBADF (Bad file descriptor)
6412 close(957) = -1 EBADF (Bad file descriptor)
6412 close(958) = -1 EBADF (Bad file descriptor)
6412 close(959) = -1 EBADF (Bad file descriptor)
6412 close(960) = -1 EBADF (Bad file descriptor)
6412 close(961) = -1 EBADF (Bad file descriptor)
6412 close(962) = -1 EBADF (Bad file descriptor)
6412 close(963) = -1 EBADF (Bad file descriptor)
6412 close(964) = -1 EBADF (Bad file descriptor)
6412 close(965) = -1 EBADF (Bad file descriptor)
6412 close(966) = -1 EBADF (Bad file descriptor)
6412 close(967) = -1 EBADF (Bad file descriptor)
6412 close(968) = -1 EBADF (Bad file descriptor)
6412 close(969) = -1 EBADF (Bad file descriptor)
6412 close(970) = -1 EBADF (Bad file descriptor)
6412 close(971) = -1 EBADF (Bad file descriptor)
6412 close(972) = -1 EBADF (Bad file descriptor)
6412 close(973) = -1 EBADF (Bad file descriptor)
6412 close(974) = -1 EBADF (Bad file descriptor)
6412 close(975) = -1 EBADF (Bad file descriptor)
6412 close(976) = -1 EBADF (Bad file descriptor)
6412 close(977) = -1 EBADF (Bad file descriptor)
6412 close(978) = -1 EBADF (Bad file descriptor)
6412 close(979) = -1 EBADF (Bad file descriptor)
6412 close(980) = -1 EBADF (Bad file descriptor)
6412 close(981) = -1 EBADF (Bad file descriptor)
6412 close(982) = -1 EBADF (Bad file descriptor)
6412 close(983) = -1 EBADF (Bad file descriptor)
6412 close(984) = -1 EBADF (Bad file descriptor)
6412 close(985) = -1 EBADF (Bad file descriptor)
6412 close(986) = -1 EBADF (Bad file descriptor)
6412 close(987) = -1 EBADF (Bad file descriptor)
6412 close(988) = -1 EBADF (Bad file descriptor)
6412 close(989) = -1 EBADF (Bad file descriptor)
6412 close(990) = -1 EBADF (Bad file descriptor)
6412 close(991) = -1 EBADF (Bad file descriptor)
6412 close(992) = -1 EBADF (Bad file descriptor)
6412 close(993) = -1 EBADF (Bad file descriptor)
6412 close(994) = -1 EBADF (Bad file descriptor)
6412 close(995) = -1 EBADF (Bad file descriptor)
6412 close(996) = -1 EBADF (Bad file descriptor)
6412 close(997) = -1 EBADF (Bad file descriptor)
6412 close(998) = -1 EBADF (Bad file descriptor)
6412 close(999) = -1 EBADF (Bad file descriptor)
6412 close(1000) = -1 EBADF (Bad file descriptor)
6412 close(1001) = -1 EBADF (Bad file descriptor)
6412 close(1002) = -1 EBADF (Bad file descriptor)
6412 close(1003) = -1 EBADF (Bad file descriptor)
6412 close(1004) = -1 EBADF (Bad file descriptor)
6412 close(1005) = -1 EBADF (Bad file descriptor)
6412 close(1006) = -1 EBADF (Bad file descriptor)
6412 close(1007) = -1 EBADF (Bad file descriptor)
6412 close(1008) = -1 EBADF (Bad file descriptor)
6412 close(1009) = -1 EBADF (Bad file descriptor)
6412 close(1010) = -1 EBADF (Bad file descriptor)
6412 close(1011) = -1 EBADF (Bad file descriptor)
6412 close(1012) = -1 EBADF (Bad file descriptor)
6412 close(1013) = -1 EBADF (Bad file descriptor)
6412 close(1014) = -1 EBADF (Bad file descriptor)
6412 close(1015) = -1 EBADF (Bad file descriptor)
6412 close(1016) = -1 EBADF (Bad file descriptor)
6412 close(1017) = -1 EBADF (Bad file descriptor)
6412 close(1018) = -1 EBADF (Bad file descriptor)
6412 close(1019) = -1 EBADF (Bad file descriptor)
6412 close(1020) = -1 EBADF (Bad file descriptor)
6412 close(1021) = -1 EBADF (Bad file descriptor)
6412 close(1022) = -1 EBADF (Bad file descriptor)
6412 close(1023) = -1 EBADF (Bad file descriptor)
6412 execve("/etc/xen/qemu-ifup", ["/etc/xen/qemu-ifup", "tap1.0", "eth0"], ["SHLVL=1", "runlevel=2", "UPSTART_JOB=rc2", "_=/usr/sbin/xend", "UPSTART_JOB_ID=11", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "RUNLEVEL=2", "PREVLEVEL=N", "UPSTART_EVENT=runlevel", "XAUTHORITY=/root/.Xauthority", "previous=N", "PWD=/", "VERBOSE=no"] <unfinished ...>
6310 wait4(6412, <unfinished ...>
6412 <... execve resumed> ) = 0
6412 brk(0) = 0x16b9000
6412 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2adb465d3000
6412 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6412 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2adb465d4000
6412 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6412 open("/etc/ld.so.cache", O_RDONLY) = 4
6412 fstat(4, {st_dev=makedev(8, 30), st_ino=92498, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=152, st_size=72620, st_atime=2009/02/19-08:17:37, st_mtime=2009/02/19-08:17:24, st_ctime=2009/02/19-08:17:24}) = 0
6412 mmap(NULL, 72620, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2adb465d6000
6412 close(4) = 0
6412 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6412 open("/lib/libc.so.6", O_RDONLY) = 4
6412 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\345\1\0\0\0\0\0@\0\0\0\0\0\0\0\270\333\26\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0F\0E\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\202\26\0\0\0\0\0\10\202\26\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0HF\0\0\0\0\0\0\210\213\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\273\26\0\0\0\0\0\2736\0\0\0\0\0`\2736\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0\20\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0"..., 832) = 832
6412 fstat(4, {st_dev=makedev(8, 30), st_ino=491525, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2944, st_size=1502520, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6412 mmap(NULL, 3609304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2adb467d4000
6412 mprotect(0x2adb4693d000, 2093056, PROT_NONE) = 0
6412 mmap(0x2adb46b3c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x168000) = 0x2adb46b3c000 6412 mmap(0x2adb46b41000, 17112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2adb46b41000
6412 close(4) = 0
6412 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2adb46b46000
6412 arch_prctl(ARCH_SET_FS, 0x2adb46b466e0) = 0
6412 mprotect(0x2adb46b3c000, 16384, PROT_READ) = 0
6412 mprotect(0x618000, 4096, PROT_READ) = 0
6412 mprotect(0x2adb467d2000, 4096, PROT_READ) = 0
6412 munmap(0x2adb465d6000, 72620) = 0
6412 getpid() = 6412
6412 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
6412 geteuid() = 0
6412 brk(0) = 0x16b9000
6412 brk(0x16da000) = 0x16da000
6412 getppid() = 6310
6412 stat("/", {st_dev=makedev(8, 30), st_ino=2, st_mode=S_IFDIR|0755, st_nlink=21, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2009/02/14-11:31:35, st_mtime=2009/02/14-08:21:57, st_ctime=2009/02/14-08:21:57}) = 0
6412 stat(".", {st_dev=makedev(8, 30), st_ino=2, st_mode=S_IFDIR|0755, st_nlink=21, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2009/02/14-11:31:35, st_mtime=2009/02/14-08:21:57, st_ctime=2009/02/14-08:21:57}) = 0
6412 open("/etc/xen/qemu-ifup", O_RDONLY) = 4
6412 fcntl(4, F_DUPFD, 10) = 10
6412 close(4) = 0
6412 fcntl(10, F_SETFD, FD_CLOEXEC) = 0
6412 rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
6412 rt_sigaction(SIGINT, {0x40f820, ~[RTMIN RT_1], SA_RESTORER, 0x2adb468070a0}, NULL, 8) = 0
6412 rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
6412 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
6412 rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
6412 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
6412 read(10, "#!/bin/sh\n\n#. /etc/rc.d/init.d/functions\n#ulimit -c unlimited\n\necho \'config qemu network with xen bridge for \' $*\n\nbridge=$2\n\n#\n# Old style bridge setup with netloop, used to have a bridge name\n# of xenbrX, enslaving pethX and vif0.X, and then configuring\n# eth0.\n#\n# New style bridge setup does not use netloop, so the bridge name\n# is ethX and the physical device is enslaved pethX\n#\n# So if...\n#\n# - User asks for xenbrX\n# - AND xenbrX doesn\'t exist\n# - AND there is a ethX device which is a"..., 8192) = 840
6412 write(1, "config qemu network with xen bridge for tap1.0 eth0\n", 53) = 53
6412 stat("/sys/class/net/eth0", {st_dev=makedev(0, 0), st_ino=13342, st_mode=S_IFDIR|0755, st_nlink=6, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2009/02/24-06:06:52, st_mtime=2009/02/24-06:06:52, st_ctime=2009/02/24-06:06:52}) = 0
6412 stat("/sbin/ifconfig", {st_dev=makedev(8, 30), st_ino=311375, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=152, st_size=72560, st_atime=2009/02/14-05:40:06, st_mtime=2008/07/17-05:12:26, st_ctime=2009/02/14-05:26:13}) = 0
6412 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2adb46b46770) = 6417
6417 close(10) = 0
6417 execve("/sbin/ifconfig", ["ifconfig", "tap1.0", "0.0.0.0", "up"], ["SHLVL=1", "runlevel=2", "UPSTART_JOB=rc2", "UPSTART_JOB_ID=11", "_=/usr/sbin/xend", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "RUNLEVEL=2", "PREVLEVEL=N", "XAUTHORITY=/root/.Xauthority", "UPSTART_EVENT=runlevel", "PWD=/", "previous=N", "VERBOSE=no"]) = 0
6417 brk(0) = 0x2092000
6417 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b452a656000
6417 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6417 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b452a657000
6417 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6417 open("/etc/ld.so.cache", O_RDONLY) = 4
6417 fstat(4, {st_dev=makedev(8, 30), st_ino=92498, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=152, st_size=72620, st_atime=2009/02/19-08:17:37, st_mtime=2009/02/19-08:17:24, st_ctime=2009/02/19-08:17:24}) = 0
6417 mmap(NULL, 72620, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b452a659000
6417 close(4) = 0
6417 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6417 open("/lib/libc.so.6", O_RDONLY) = 4
6417 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\345\1\0\0\0\0\0@\0\0\0\0\0\0\0\270\333\26\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0F\0E\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\202\26\0\0\0\0\0\10\202\26\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0HF\0\0\0\0\0\0\210\213\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\273\26\0\0\0\0\0\2736\0\0\0\0\0`\2736\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0\20\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0"..., 832) = 832
6417 fstat(4, {st_dev=makedev(8, 30), st_ino=491525, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2944, st_size=1502520, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6417 mmap(NULL, 3609304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b452a857000
6417 mprotect(0x2b452a9c0000, 2093056, PROT_NONE) = 0
6417 mmap(0x2b452abbf000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x168000) = 0x2b452abbf000 6417 mmap(0x2b452abc4000, 17112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b452abc4000
6417 close(4) = 0
6417 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b452abc9000
6417 arch_prctl(ARCH_SET_FS, 0x2b452abc96e0) = 0
6417 mprotect(0x2b452abbf000, 16384, PROT_READ) = 0
6417 mprotect(0x60f000, 4096, PROT_READ) = 0
6417 mprotect(0x2b452a855000, 4096, PROT_READ) = 0
6417 munmap(0x2b452a659000, 72620) = 0
6417 brk(0) = 0x2092000
6417 brk(0x20b3000) = 0x20b3000
6417 uname({sysname="Linux", nodename="ServerXen331", release="2.6.29-rc5-tip", version="#3 SMP Mon Feb 23 05:40:41 EST 2009", machine="x86_64"}) = 0
6417 access("/proc/net", R_OK) = 0
6417 access("/proc/net/unix", R_OK) = 0
6417 socket(PF_FILE, SOCK_DGRAM, 0) = 4
6417 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
6417 access("/proc/net/if_inet6", R_OK) = 0
6417 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6
6417 access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/net/rose", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/sys/net/econet", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or directory)
6417 access("/proc/net/x25", R_OK) = -1 ENOENT (No such file or directory)
6417 ioctl(5, SIOCSIFADDR, 0x7fff8046ffc0) = 0
6417 ioctl(5, SIOCGIFFLAGS, {ifr_name="tap1.0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
6417 ioctl(5, SIOCSIFFLAGS, 0x7fff8046feb0) = 0
6417 ioctl(5, SIOCGIFFLAGS, {ifr_name="tap1.0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
6417 ioctl(5, SIOCSIFFLAGS, 0x7fff8046feb0) = 0
6417 exit_group(0) = ?
6412 --- SIGCHLD (Child exited) @ 0 (0) ---
6412 wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6417
6412 stat("/sbin/brctl", 0x7fff644f2da0) = -1 ENOENT (No such file or directory)
6412 stat("/usr/sbin/brctl", {st_dev=makedev(8, 30), st_ino=2009461, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=64, st_size=31584, st_atime=2009/02/14-14:33:26, st_mtime=2008/06/17-02:02:56, st_ctime=2009/02/14-14:33:16}) = 0
6412 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2adb46b46770) = 6418
6418 close(10) = 0
6418 execve("/usr/sbin/brctl", ["brctl", "addif", "eth0", "tap1.0"], ["SHLVL=1", "runlevel=2", "UPSTART_JOB=rc2", "UPSTART_JOB_ID=11", "_=/usr/sbin/xend", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "RUNLEVEL=2", "PREVLEVEL=N", "XAUTHORITY=/root/.Xauthority", "UPSTART_EVENT=runlevel", "PWD=/", "previous=N", "VERBOSE=no"]) = 0
6418 brk(0) = 0x1117000
6418 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b75b9505000
6418 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6418 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b75b9506000
6418 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6418 open("/etc/ld.so.cache", O_RDONLY) = 4
6418 fstat(4, {st_dev=makedev(8, 30), st_ino=92498, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=152, st_size=72620, st_atime=2009/02/19-08:17:37, st_mtime=2009/02/19-08:17:24, st_ctime=2009/02/19-08:17:24}) = 0
6418 mmap(NULL, 72620, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b75b9508000
6418 close(4) = 0
6418 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
6418 open("/lib/libc.so.6", O_RDONLY) = 4
6418 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\345\1\0\0\0\0\0@\0\0\0\0\0\0\0\270\333\26\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0F\0E\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0@\7\24\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\202\26\0\0\0\0\0\10\202\26\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0HF\0\0\0\0\0\0\210\213\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\273\26\0\0\0\0\0\2736\0\0\0\0\0`\2736\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0 \0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0P\207\26\0\0\0\0\0P\2076\0\0\0\0\0P\2076\0\0\0\0\0\20\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0\0\0\0\0\\\7\24\0"..., 832) = 832
6418 fstat(4, {st_dev=makedev(8, 30), st_ino=491525, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2944, st_size=1502520, st_atime=2009/02/14-07:15:45, st_mtime=2009/01/29-12:56:31, st_ctime=2009/02/14-07:15:44}) = 0
6418 mmap(NULL, 3609304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b75b9706000
6418 mprotect(0x2b75b986f000, 2093056, PROT_NONE) = 0
6418 mmap(0x2b75b9a6e000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x168000) = 0x2b75b9a6e000 6418 mmap(0x2b75b9a73000, 17112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b75b9a73000
6418 close(4) = 0
6418 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b75b9a78000
6418 arch_prctl(ARCH_SET_FS, 0x2b75b9a786e0) = 0
6418 mprotect(0x2b75b9a6e000, 16384, PROT_READ) = 0
6418 mprotect(0x606000, 4096, PROT_READ) = 0
6418 mprotect(0x2b75b9704000, 4096, PROT_READ) = 0
6418 munmap(0x2b75b9508000, 72620) = 0
6418 socket(PF_FILE, SOCK_STREAM, 0) = 4
6418 access("/proc/net", R_OK) = 0
6418 access("/proc/net/unix", R_OK) = 0
6418 socket(PF_FILE, SOCK_DGRAM, 0) = 5
6418 ioctl(5, SIOCGIFINDEX, {ifr_name="tap1.0", ifr_index=9}) = 0
6418 close(5) = 0
6418 ioctl(4, 0x89a2, 0x7ffff15c3190) = 0
6418 exit_group(0) = ?
6412 --- SIGCHLD (Child exited) @ 0 (0) ---
6412 wait4(4294967295, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6418
6412 read(10, "", 8192) = 0
6412 exit_group(0) = ?
6310 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6412
6310 --- SIGCHLD (Child exited) @ 0 (0) ---
6310 open("/proc/xen/privcmd", O_RDWR) = 4
6310 fcntl(4, F_GETFD) = 0
6310 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
6310 stat("/var/run/xenstored/socket", {st_dev=makedev(0, 16), st_ino=18376, st_mode=S_IFSOCK|0600, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2009/02/24-06:07:05, st_mtime=2009/02/24-06:07:04, st_ctime=2009/02/24-06:07:04}) = 0
6310 socket(PF_FILE, SOCK_STREAM, 0) = 5
6310 fcntl(5, F_GETFD) = 0
6310 fcntl(5, F_SETFD, FD_CLOEXEC) = 0
6310 connect(5, {sa_family=AF_FILE, path="/var/run/xenstored/socket"}, 110) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "1\0", 2) = 2
6310 read(5, "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6310 read(5, "/local/domain/1\0", 16) = 16
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\1\0\0\0\0\0\0\0\0\0\0\0\33\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd\0", 27) = 27
6310 read(5, "\1\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0", 16) = 16
6310 read(5, "5632\000768\0", 9) = 9
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0(\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd/5632/backend\0", 40) = 40
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\"\0\0\0", 16) = 16
6310 read(5, "/local/domain/0/backend/vbd/1/5632", 34) = 34
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "0\0", 2) = 2
6310 read(5, "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6310 read(5, "/local/domain/0\0", 16) = 16
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0,\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/frontend\0", 44) = 44
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\37\0\0\0", 16) = 16
6310 read(5, "/local/domain/1/device/vbd/5632", 31) = 31
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\'\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/dev\0", 39) = 39
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6310 read(5, "hdc", 3) = 3
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0(\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd/5632/backend\0", 40) = 40
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\"\0\0\0", 16) = 16
6310 read(5, "/local/domain/0/backend/vbd/1/5632", 34) = 34
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "0\0", 2) = 2
6310 read(5, "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6310 read(5, "/local/domain/0\0", 16) = 16
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0,\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/frontend\0", 44) = 44
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\37\0\0\0", 16) = 16
6310 read(5, "/local/domain/1/device/vbd/5632", 31) = 31
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\'\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/dev\0", 39) = 39
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6310 read(5, "hdc", 3) = 3
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0,\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd/5632/device-type\0", 44) = 44
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0", 16) = 16
6310 read(5, "cdrom", 5) = 5
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0*\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/params\0", 42) = 42
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0", 16) = 16
6310 read(5, "/dev/loop0", 10) = 10
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0(\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/type\0", 40) = 40
6310 read(5, "\2\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6310 read(5, "phy", 3) = 3
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x418b7000
6310 mprotect(0x418b7000, 4096, PROT_NONE) = 0
6310 clone(child_stack=0x420b7260, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x420b79e0, tls=0x420b7950, child_tidptr=0x420b79e0) = 6423
6423 set_robust_list(0x420b79f0, 0x18) = 0
6423 read(5, <unfinished ...>
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\4\0\0\0\0\0\0\0\0\0\0\0.\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/5632/params\0", 42) = 42
6310 write(5, "hdc\0", 4 <unfinished ...>
6423 <... read resumed> "\4\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "OK\0", 3) = 3
6423 read(5, "\17\0\0\0\0\0\0\0\0\0\0\0.\0\0\0", 16) = 16
6423 read(5, "/local/domain/0/backend/vbd/1/5632/params\0hdc\0", 46) = 46
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 4
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigprocmask(SIG_UNBLOCK, [USR2], NULL, 8) = 0
6310 rt_sigaction(SIGUSR2, {0x416006, ~[RTMIN RT_1], SA_RESTORER, 0x7fae2e2060f0}, NULL, 8) = 0
6310 pipe([6, 7]) = 0
6310 fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
6310 fcntl(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
6310 open("/dev/loop0", O_RDWR|O_SYNC) = 8
6310 lseek(8, 0, SEEK_END) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\'\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd/768/backend\0", 39 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0!\0\0\0", 16) = 16
6423 read(5, "/local/domain/0/backend/vbd/1/768", 33) = 33
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 39
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "0\0", 2 <unfinished ...>
6423 <... read resumed> "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6423 read(5, "/local/domain/0\0", 16) = 16
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 2
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0+\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/768/frontend\0", 43 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\36\0\0\0", 16) = 16
6423 read(5, "/local/domain/1/device/vbd/768", 30) = 30
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 43
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0&\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/768/dev\0", 38 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "hda", 3) = 3
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 38
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0+\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/device/vbd/768/device-type\0", 43 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0", 16) = 16
6423 read(5, "disk", 4) = 4
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 43
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0)\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/768/params\0", 41 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0", 16) = 16
6423 read(5, "/dev/sdb7", 9) = 9
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 41
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\'\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/vbd/1/768/type\0", 39 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "phy", 3) = 3
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 39
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 open("/dev/sdb7", O_RDWR|O_SYNC) = 9
6310 lseek(9, 0, SEEK_END) = 16458753024
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\4\0\0\0\0\0\0\0\0\0\0\0=\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/device-model/1/logdirty/next-active\0", 52) = 52
6310 write(5, "logdirty\0", 9 <unfinished ...>
6423 <... read resumed> "\4\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "OK\0", 3) = 3
6423 read(5, "\17\0\0\0\0\0\0\0\0\0\0\0=\0\0\0", 16) = 16
6423 read(5, "/local/domain/0/device-model/1/logdirty/next-active\0logdirty\0", 61) = 61
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 9
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "Watching /local/domain/0/device-model/1/logdirty/next-active\n", 61) = 61
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\4\0\0\0\0\0\0\0\0\0\0\0002\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/device-model/1/command\0", 39) = 39
6310 write(5, "dm-command\0", 11 <unfinished ...>
6423 <... read resumed> "\4\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "OK\0", 3) = 3
6423 read(5, "\17\0\0\0\0\0\0\0\0\0\0\0002\0\0\0", 16) = 16
6423 read(5, "/local/domain/0/device-model/1/command\0dm-command\0", 50) = 50
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 11
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "Watching /local/domain/0/device-model/1/command\n", 48) = 48
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0)\0\0\0", 16) = 16
6310 write(5, "/local/domain/0/backend/pci/1/0/num_devs\0", 41 <unfinished ...>
6423 <... read resumed> "\20\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0", 16) = 16
6423 read(5, "ENOENT\0", 7) = 7
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 41
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 open("/usr/share/xen/qemu/keymaps/en-us", O_RDONLY) = 10
6310 fstat(10, {st_dev=makedev(8, 30), st_ino=623077, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=609, st_atime=2009/02/23-08:59:33, st_mtime=2009/02/23-08:28:48, st_ctime=2009/02/23-08:28:48}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd3000
6310 read(10, "# generated from XKB map us\ninclude common\nmap 0x409\nexclam 0x02 shift\nat 0x03 shift\nnumbersign 0x04 shift\ndollar 0x05 shift\npercent 0x06 shift\nasciicircum 0x07 shift\nampersand 0x08 shift\nasterisk 0x09 shift\nparenleft 0x0a shift\nparenright 0x0b shift\nminus 0x0c\nunderscore 0x0c shift\nequal 0x0d\nplus 0x0d shift\nbracketleft 0x1a\nbraceleft 0x1a shift\nbracketright 0x1b\nbraceright 0x1b shift\nsemicolon 0x27\ncolon 0x27 shift\napostrophe 0x28\nquotedbl 0x28 shift\ngrave 0x29\nasciitilde 0x29 shift\nbackslash "..., 4096) = 609 6310 open("/usr/share/xen/qemu/keymaps/common", O_RDONLY) = 11
6310 fstat(11, {st_dev=makedev(8, 30), st_ino=623087, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2077, st_atime=2009/02/23-08:59:33, st_mtime=2009/02/23-08:28:48, st_ctime=2009/02/23-08:28:48}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd2000
6310 read(11, "include modifiers\n\n#\n# Top row\n#\n1 0x2\n2 0x3\n3 0x4\n4 0x5\n5 0x6\n6 0x7\n7 0x8\n8 0x9\n9 0xa\n0 0xb\nBackSpace 0xe\n\n#\n# QWERTY first row\n#\nTab 0xf localstate\nISO_Left_Tab 0xf shift\nq 0x10 addupper\nw 0x11 addupper\ne 0x12 addupper\nr 0x13 addupper\nt 0x14 addupper\ny 0x15 addupper\nu 0x16 addupper\ni 0x17 addupper\no 0x18 addupper\np 0x19 addupper\n\n#\n# QWERTY second row\n#\na 0x1e addupper\ns 0x1f addupper\nd 0x20 addupper\nf 0x21 addupper\ng 0x22 addupper\nh 0x23 addupper\nj 0x24 addupper\nk 0x25 addupper\nl 0x26 adduppe"..., 4096) = 2077 6310 open("/usr/share/xen/qemu/keymaps/modifiers", O_RDONLY) = 12
6310 fstat(12, {st_dev=makedev(8, 30), st_ino=623071, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=293, st_atime=2009/02/23-08:59:33, st_mtime=2009/02/23-08:28:48, st_ctime=2009/02/23-08:28:48}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 read(12, "Shift_R 0x36\nShift_L 0x2a\n\nAlt_R 0xb8\nMode_switch 0xb8\nISO_Level3_Shift 0xb8\nAlt_L 0x38\n\nControl_R 0x9d\nControl_L 0x1d\n\n# Translate Super to Windows keys.\n# This is hardcoded. See documentation for details.\nSuper_R 0xdc\nSuper_L 0xdb\n\n# Translate Menu to the Windows Application key.\nMenu 0xdd\n", 4096) = 293
6310 read(12, "", 4096) = 0
6310 close(12) = 0
6310 munmap(0x7fae2ecd1000, 4096) = 0
6310 read(11, "", 4096) = 0
6310 close(11) = 0
6310 munmap(0x7fae2ecd2000, 4096) = 0
6310 read(10, "", 4096) = 0
6310 close(10) = 0
6310 munmap(0x7fae2ecd3000, 4096) = 0
6310 mmap(NULL, 1028096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ebc1000 6310 mmap(NULL, 1028096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2cedd000
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "1\0", 2 <unfinished ...>
6423 <... read resumed> "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6423 read(5, "/local/domain/1\0", 16) = 16
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 2
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\23\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/vm\0", 19 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0(\0\0\0", 16) = 16
6423 read(5, "/vm/8ea65fd4-7b13-95a1-82e6-d9bd93c50f40", 40) = 40
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 19
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0003\0\0\0", 16) = 16
6310 write(5, "/vm/8ea65fd4-7b13-95a1-82e6-d9bd93c50f40/vncpasswd\0", 51 <unfinished ...>
6423 <... read resumed> "\20\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0", 16) = 16
6423 read(5, "ENOENT\0", 7) = 7
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 51
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "xs_read(): vncpasswd get error. /vm/8ea65fd4-7b13-95a1-82e6-d9bd93c50f40/vncpasswd.\n", 84) = 84
6310 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 10
6310 setsockopt(10, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
6310 bind(10, {sa_family=AF_INET, sin_port=htons(5900), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
6310 listen(10, 1) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "1\0", 2 <unfinished ...>
6423 <... read resumed> "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6423 read(5, "/local/domain/1\0", 16) = 16
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 2
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\v\0\0\0\0\0\0\0\0\0\0\0%\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/console/vnc-port\0", 33) = 33
6310 write(5, "5900", 4 <unfinished ...>
6423 <... read resumed> "\v\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0", 16) = 16
6423 read(5, "OK\0", 3) = 3
6423 read(5, <unfinished ...>
6310 <... write resumed> ) = 4
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
6310 rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
6310 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
6310 brk(0x2a54000) = 0x2a54000
6310 brk(0x2a91000) = 0x2a91000
6310 write(2, "qemu_map_cache_init nr_buckets = 10000 size 3145728\n", 52) = 52
6310 mmap(NULL, 3145728, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0x7fae2cbdd000
6310 mlock(0x7fff36cd5000, 4096) = 0
6310 ioctl(4, SNDCTL_DSP_RESET, 0x7fff36cd5320) = 0
6310 munlock(0x7fff36cd5000, 4096) = 0
6310 write(2, "shared page at pfn feffd\n", 25) = 25
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x7fae2ecd3000
6310 ioctl(4, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x7fff36cd5340) = 0
6310 mlock(0x7fff36cd5000, 4096) = 0
6310 ioctl(4, SNDCTL_DSP_RESET, 0x7fff36cd5320) = 0
6310 munlock(0x7fff36cd5000, 4096) = 0
6310 write(2, "buffered io page at pfn feffb\n", 30) = 30
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x7fae2ecd2000
6310 ioctl(4, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x7fff36cd5340) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\n\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0", 16) = 16
6310 write(5, "1\0", 2) = 2
6423 <... read resumed> "\n\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0", 16) = 16
6423 read(5, "/local/domain/1\0", 16) = 16
6423 read(5, <unfinished ...>
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0\23\0\0\0", 16) = 16
6310 write(5, "/local/domain/1/vm\0", 19) = 19
6310 futex(0x2a0fb04, 0x80 /* FUTEX_??? */, 1 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0(\0\0\0", 16) = 16
6423 read(5, "/vm/8ea65fd4-7b13-95a1-82e6-d9bd93c50f40", 40) = 40
6423 futex(0x2a0fb04, 0x85 /* FUTEX_??? */, 1) = 0
6423 read(5, <unfinished ...>
6310 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
6310 futex(0x2a0fad8, 0x81 /* FUTEX_??? */, 1) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "Guest uuid = 8ea65fd4-7b13-95a1-82e6-d9bd93c50f40\n", 50) = 50
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
6310 write(5, "\2\0\0\0\0\0\0\0\0\0\0\0008\0\0\0", 16) = 16
6310 write(5, "/vm/8ea65fd4-7b13-95a1-82e6-d9bd93c50f40/rtc/timeoffset\0", 56) = 56
6310 futex(0x2a0fb04, 0x80 /* FUTEX_??? */, 3 <unfinished ...>
6423 <... read resumed> "\2\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0", 16) = 16
6423 read(5, "0", 1) = 1
6423 futex(0x2a0fb04, 0x85 /* FUTEX_??? */, 1) = 0
6423 read(5, <unfinished ...>
6310 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
6310 futex(0x2a0fad8, 0x81 /* FUTEX_??? */, 1) = 0
6310 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
6310 write(2, "Time offset set 0\n", 18) = 18
6310 open("/proc/mounts", O_RDONLY) = 11
6310 fstat(11, {st_dev=makedev(0, 3), st_ino=19324, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=2009/02/24-06:09:17, st_mtime=2009/02/24-06:09:17, st_ctime=2009/02/24-06:09:17}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 read(11, "rootfs / rootfs rw 0 0\nnone /sys sysfs rw,nosuid,nodev,noexec 0 0\nnone /proc proc rw,nosuid,nodev,noexec 0 0\nudev /dev tmpfs rw,mode=755 0 0\nfusectl /sys/fs/fuse/connections fusectl rw 0 0\n/dev/sdb14 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0\n/dev/sdb14 /dev/.static/dev ext3 ro,errors=remount-ro,data=ordered 0 0\ntmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0\nvarrun /var/run tmpfs rw,nosuid,mode=755 0 0\nvarlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0\ntmpfs /dev/shm tmpfs rw,nosuid,"..., 1024) = 723
6310 close(11) = 0
6310 munmap(0x7fae2ecd1000, 4096) = 0
6310 open("/sys/class/xen/evtchn/dev", O_RDONLY) = -1 ENOENT (No such file or directory)
6310 open("/proc/mounts", O_RDONLY) = 11
6310 fstat(11, {st_dev=makedev(0, 3), st_ino=19324, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=2009/02/24-06:09:17, st_mtime=2009/02/24-06:09:17, st_ctime=2009/02/24-06:09:17}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 read(11, "rootfs / rootfs rw 0 0\nnone /sys sysfs rw,nosuid,nodev,noexec 0 0\nnone /proc proc rw,nosuid,nodev,noexec 0 0\nudev /dev tmpfs rw,mode=755 0 0\nfusectl /sys/fs/fuse/connections fusectl rw 0 0\n/dev/sdb14 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0\n/dev/sdb14 /dev/.static/dev ext3 ro,errors=remount-ro,data=ordered 0 0\ntmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0\nvarrun /var/run tmpfs rw,nosuid,mode=755 0 0\nvarlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0\ntmpfs /dev/shm tmpfs rw,nosuid,"..., 1024) = 723
6310 close(11) = 0
6310 munmap(0x7fae2ecd1000, 4096) = 0
6310 open("/sys/class/misc/evtchn/dev", O_RDONLY) = 11
6310 fstat(11, {st_dev=makedev(0, 0), st_ino=2083, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=4096, st_atime=2009/02/24-06:06:31, st_mtime=2009/02/24-06:06:31, st_ctime=2009/02/24-06:06:31}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 read(11, "10:63\n", 4096) = 6
6310 close(11) = 0
6310 munmap(0x7fae2ecd1000, 4096) = 0
6310 lstat("/dev/xen/evtchn", {st_dev=makedev(0, 12), st_ino=7935, st_mode=S_IFCHR|0660, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_rdev=makedev(10, 63), st_atime=2009/02/24-06:06:31, st_mtime=2009/02/24-06:06:31, st_ctime=2009/02/24-06:06:31}) = 0
6310 open("/dev/xen/evtchn", O_RDWR) = 11
6310 ioctl(11, EVIOCGVERSION, 0x7fff36cd5220) = 28
6310 brk(0x2ab3000) = 0x2ab3000
6310 write(2, "populating video RAM at ff000000\n", 33) = 33
6310 mlock(0x7fff36cd5000, 4096) = 0
6310 mlock(0x2a92000, 12288) = 0
6310 ioctl(4, SNDCTL_DSP_RESET, 0x7fff36cd5100) = 1024
6310 munlock(0x7fff36cd5000, 4096) = 0
6310 munlock(0x2a92000, 12288) = 0
6310 write(2, "mapping video RAM from ff000000\n", 32) = 32
6310 mmap(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x7fae2c7dd000
6310 ioctl(4, SNDCTL_DSP_STEREO, 0x7fff36cd50e0) = 0
6310 gettimeofday({1235473757, 244375}, NULL) = 0
6310 open("/etc/localtime", O_RDONLY) = 12
6310 fstat(12, {st_dev=makedev(8, 30), st_ino=90285, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=3519, st_atime=2009/02/14-05:26:30, st_mtime=2009/02/14-05:26:29, st_ctime=2009/02/14-05:26:29}) = 0
6310 fstat(12, {st_dev=makedev(8, 30), st_ino=90285, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=3519, st_atime=2009/02/14-05:26:30, st_mtime=2009/02/14-05:26:29, st_ctime=2009/02/14-05:26:29}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 read(12, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0\0\0\0\353\0\0\0\4\0\0\0\20\236\246\36p\237\272\353\240\206\0p\241\232\315\242e\342p\243\203\351\340\244j\256p\2455\247\246S\312\360\247\25\211\2503\254\360\250\376\245\340\252\23\216\360\252\336\207\340\253\363p\360\254\276i\340\255\323R\360\256\236K\340\257\2634\360\260~-\340\261\234Qp\262gJ\263|3p\264G,\265\\\25p\266\'\16\267;\367p\270\6\360\271\33\331p\271\346\322\273\4\365\360\273\306\264\274\344\327\360\275\257\320\340\276\304\271\360\277\217\262\340\300\244\233\360\301o\224\340\302\204}\360\303Ov\340\304d_\360\305/X\340\306M|p\307\17:\340\310-^p\310\370W\312\r@p\312\3309\313\210\360p\322#\364p\322`\373\340\323u\344\360\324@\335\340\325U\306\360\326
\277\340\3275\250\360\330\0\241\340\331\25\212\360\331\340\203\340\332\376\247p\333\300e\340\334\336\211p\335\251\202\336\276kp\337\211d\340\236Mp\341iF\342~/p\343I(\344^\21p\345W.\340\346G-\360\3477\20\340\350\'\17\360\351\26\362\340\352\6\361\360\352"..., 4096) = 3519
6310 lseek(12, -2252, SEEK_CUR) = 1267
6310 read(12,
"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0\0\0\0\354\0\0\0\5\0\0\0\24\377\377\377\377^\3\360\220\377\377\377\377\236\246\36p\377\377\377\377\237\272\353\377\377\377\377\240\206\0p\377\377\377\377\241\232\315\377\377\377\377\242e\342p\377\377\377\377\243\203\351\340\377\377\377\377\244j\256p\377\377\377\377\2455\247\377\377\377\377\246S\312\360\377\377\377\377\247\25\211\377\377\377\377\2503\254\360\377\377\377\377\250\376\245\340\377\377\377\377\252\23\216\360\377\377\377\377\252\336\207\340\377\377\377\377\253\363p\360\377\377\377\377\254\276i\340\377\377\377\377\255\323R\360\377\377\377\377\256\236K\340\377\377\377\377\257\2634\360\377\377\377\377\260~-\340\377\377\377\377\261\234Qp\377\377\377\377\262gJ\377\377\377\377\263|3p\377\377\377\377\264G,\377\377\377\377\265\\\25p\377\377\377\377\266\'\16\377\377\377\377\267;\367p\377\377\377\377\270\6\360\377\377\377\377\271\33\331p\377\377\377\377\271\346\322`\377\377\377\377\273
\4\365\360\377\377\377\377"..., 4096) = 2252
6310 close(12) = 0
6310 munmap(0x7fae2ecd1000, 4096) = 0
6310 fstat(1, {st_dev=makedev(8, 30), st_ino=2289612, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=525, st_atime=2009/02/24-06:09:16, st_mtime=2009/02/24-06:09:17, st_ctime=2009/02/24-06:09:17}) = 0
6310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2ecd1000
6310 write(1, "Register xen platform.\n", 23) = 23
6310 mlock(0x7fff36cd5000, 4096) = 0
6310 ioctl(4, SNDCTL_DSP_RESET, 0x7fff36cd5130) = 0
6310 munlock(0x7fff36cd5000, 4096) = 0
6310 write(1, "Done register platform.\n", 24) = 24
6310 stat("/etc/disable-guest-log-throttle", 0x7fff36cd51c0) = -1 ENOENT (No such file or directory)
6310 mlock(0x7fff36cd5000, 4096) = 0
6310 ioctl(4, SNDCTL_DSP_RESET, 0x7fff36cd5170) = 0
6310 munlock(0x7fff36cd5000, 4096) = 0
6310 mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2eba0000
6310 lseek(9, 0, SEEK_END) = 16458753024
6310 lseek(9, 0, SEEK_SET) = 0
6310 read(9,
"\353\4M3.0\372\374\276\0|\277\0\6\214\310\216\320\211\364\216\300\216\330Q\271\0\1\363\245Y\351\0\212\373\264\2\315\26$\3<\3u\5\306\6a\7\1\273\276\7\271\4\0\200?\200t\16\203\303\20\342\366\275u\7\271\23\0\351\346\0\264\0\315\23S\264A\273\252U\271\0\0\315\23r?\201\373U\252u9\367\301\1\0t3\275\244\7\271\3\0\350\310\0[S\271\5\0fj\0f\377w\10f\3776\\\7j\1j\20\264B\211\346\315\23\237\203\304\20\236s{\264\0\315\23\342\335\353k\275\247\7\271\3\0\350\225\0[S\212\26`\7\264\10\315\23s\10\275b\7\271\23\0\353y\210\310$?\242Y\7\376\306\366\346\243Z\7\213G\10\213W\n\3676Z\7\211\303\211\320\3666Y\7\376\3040\311\210\375\301\351\2\200\341\300\10\341\210\335\210\306\212\26\7\304\36\\\7\276\5\0\270\1\2\315\23s\22\264\0\315\23N\203\376\0u\357\275\210\7\271\16\0\353#\273\0|\201\277\376\1U\252t\10\275\226\7\271\v\0\353\20\212\26\7^f\377\26\\\7\275\241\7\271\3\0\273O\0\350\f\0\315\30\200>a\7\0t\30\273\37\0`\270\1\23\272\0\27\315\20\260\7\271\1\0\315\20\264\0\315\26a\303\0\
0\0\0|\0\0\200\0Can\'t re"..., 512) = 512
6310 mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2eb7f000 6310 mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae2eb5e000
14,193 lines not shown · raw message
Part of this message is not shown here. View the raw message.
Re: HVM pvops failures (one more qemu-dm.strace obtained)
In reply to Jeremy FitzhardingeI fixed error in hvm profile and got a similar qemu-dm.strace ( /usr/lib64/.../qemu-dm).
--- On Mon, 2/23/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Ian Jackson" <[email protected]>
Cc: "Andrew Lyon" <[email protected]>, "[email protected]" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Monday, February 23, 2009, 7:12 PM
Quoted 1 line · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
Quoted 2 lines
On Mon, Feb 23, 2009 at 2:53 PM, Ian Jackson
Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I get
this error:
Quoted 6 lines
Quoted 1 line
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
failure: pid 5409: died due to signal 7; see /var/log/xen/qemu-dm-win7.log
Hm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 8 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -eexec strace -vvs500 -f -o /root/qemu-dm.strace \ /usr/lib/xen/bin/qemu-dm "$@"and then give the name of the script as
device_modelin your config file.
I see:
...
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539747423}) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539837298}) = 0
5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0,
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4
5079 write(10, "\36\0\0\0"..., 4) = 4
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540495964}) = 0
5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540591278}) = 0
5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0,
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4
5079 write(10, "\36\0\0\0"..., 4) = 4
5079 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) =
0x7f1ad5f2b000
5079 ioctl(4, SNDCTL_DSP_STEREO, 0x7fffdfd52230) = 0
5079 --- SIGBUS (Bus error) @ 0 (0) ---
5157 +++ killed by SIGBUS +++This mmap and ioctl is from /proc/xen/privcmd.
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 38 lines · Boris Derzhavets
I fixed error in hvm profile and got a similar qemu-dm.strace (
/usr/lib64/.../qemu-dm).--- On Mon, 2/23/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Ian Jackson" <[email protected]>
Cc: "Andrew Lyon" <[email protected]>, "[email protected]" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Monday, February 23, 2009, 7:12 PMQuoted 1 line · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
Quoted 2 lines
On Mon, Feb 23, 2009 at 2:53 PM, Ian
Jackson
Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I getthis error:
Quoted 6 lines
Quoted 1 line
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
failure: pid 5409: died due to signal 7; see/var/log/xen/qemu-dm-win7.logHm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 8 lines
Quoted 6 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o/root/qemu-dm.strace\
/usr/lib/xen/bin/qemu-dm"$@"Quoted 1 line
and then give the name of the script as
device_modelin your config file.
Is there anything more I can do to help debug this problem? I am eager to do more testing with pv_ops and I have time to do it at the moment, but hvm support is currently broken so there is little I can do with my test box.
Thx
Andy
Quoted 36 lines
Quoted 1 line
I see:
...
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539747423}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539837298}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0, 9995}) 5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540495964}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540591278}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left {0, 9995}) 5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) =
0x7f1ad5f2b000
5079
ioctl(4, SNDCTL_DSP_STEREO, 0x7fffdfd52230)= 0
5079 --- SIGBUS (Bus error) @ 0 (0) ---
5157 +++ killed by SIGBUS +++This mmap and ioctl is from
/proc/xen/privcmd.J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Hi Andy,
Stubdoms fail as well ( as Jeremy suspected). QEMU is obviously important issue for pv-ops in Dom0.
Boris.
--- On Wed, 2/25/09, Andrew Lyon <[email protected]> wrote:
From: Andrew Lyon <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)
To: "Boris Derzhavets" <[email protected]>
Cc: "Jeremy Fitzhardinge" <[email protected]>, "[email protected]" <[email protected]>, "Ian Jackson" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Wednesday, February 25, 2009, 9:28 AM
Quoted 9 lines · Boris Derzhavets
I fixed error in hvm profile and got a similar qemu-dm.strace (
/usr/lib64/.../qemu-dm).--- On Mon, 2/23/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Ian Jackson" <[email protected]>
Cc: "Andrew Lyon" <[email protected]>,
Quoted 1 line
<[email protected]>, "Ian Campbell"
Quoted 28 lines
Date: Monday, February 23, 2009, 7:12 PM
Quoted 1 line · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
Quoted 2 lines
On Mon, Feb 23, 2009 at 2:53 PM, Ian
Jackson
Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I getthis error:
Quoted 6 lines
Quoted 1 line
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
failure: pid 5409: died due to signal 7; see/var/log/xen/qemu-dm-win7.logHm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 8 lines
Quoted 6 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o/root/qemu-dm.strace\
/usr/lib/xen/bin/qemu-dm"$@"Quoted 1 line
and then give the name of the script as
device_modelin your config
file.
Is there anything more I can do to help debug this problem? I am eager to do more testing with pv_ops and I have time to do it at the moment, but hvm support is currently broken so there is little I can do with my test box.
Thx
Andy
Quoted 8 lines
Quoted 1 line
I see:
...
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539747423}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539837298}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left
{0,
Quoted 7 lines
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540495964}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540591278}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left
{0,
Quoted 11 lines
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) =
0x7f1ad5f2b000
5079
ioctl(4, SNDCTL_DSP_STEREO, 0x7fffdfd52230)= 0
5079 --- SIGBUS (Bus error) @ 0 (0) ---
5157 +++ killed by SIGBUS +++
Quoted 10 lines
This mmap and ioctl is from
/proc/xen/privcmd.J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 4 lines · Boris Derzhavets
Hi Andy,
Stubdoms fail as well ( as Jeremy suspected).
I made more progress when I ran "fs-backend" first, and set up proper disk and vif entries. Now I'm getting to the state where the domain and its stub domains are running, but the main domain is doing nothing in its zilch state (no state flags in xm list, no cpu consumption). There's a window, but it has no output (not even bios, so it isn't starting at all).
J
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 2 lines
There's a window, but it has no output (not even bios, so it isn't starting at all).
Same results
--- On Wed, 2/25/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)
To: [email protected]
Cc: "Andrew Lyon" <[email protected]>, "Ian Jackson" <[email protected]>, "[email protected]" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Wednesday, February 25, 2009, 6:57 PM
Quoted 4 lines · Boris Derzhavets
Hi Andy,
Stubdoms fail as well ( as Jeremy suspected).
I made more progress when I ran "fs-backend" first, and set up proper disk and vif entries. Now I'm getting to the state where the domain and its stub domains are running, but the main domain is doing nothing in its zilch state (no state flags in xm list, no cpu consumption). There's a window, but it has no output (not even bios, so it isn't starting at all).
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
In reply to Andrew Lyon 1.You can install a lot of PV DomUs i guess via two pygrub profiles, first one to install DomU, second one to load DomU, for guests having distros on DVDs with xen-inified or pv_ops (DomU) enabled kernel. It works fine, through my experience. Details here:-
http://lxer.com/module/newswire/view/112300/index.html
F10 has been tested.
2. For Ubuntu( or Debian) DomUs "debootstrap port" to your Xen Unstable
Dom0 will allow straight forward installations. I prefer trick with HVM
image prebuilt for corresponding PV DomU pygrub's profile at Xen 3.3.X Dom0s. However, now i learned debootstrap (debian tool) and liked it very much ;). Details here:-
http://lxer.com/module/newswire/view/114465/index.html
Ubuntu Intrepid Server (64 bit) has been tested
3. You can try to install OpenSolaris 2008/11 or Solaris Nevada PV DomU on ZFS. That's really tuff. Pygrub won't help you to read Sun's the most recent ZFS images.
Details here:-
http://www.neuhalfen.name/drupal/node/3
--- On Wed, 2/25/09, Andrew Lyon <[email protected]> wrote:
From: Andrew Lyon <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)
To: "Boris Derzhavets" <[email protected]>
Cc: "Jeremy Fitzhardinge" <[email protected]>, "[email protected]" <[email protected]>, "Ian Jackson" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Wednesday, February 25, 2009, 9:28 AM
Quoted 9 lines · Boris Derzhavets
I fixed error in hvm profile and got a similar qemu-dm.strace (
/usr/lib64/.../qemu-dm).--- On Mon, 2/23/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Ian Jackson" <[email protected]>
Cc: "Andrew Lyon" <[email protected]>,
Quoted 1 line
<[email protected]>, "Ian Campbell"
Quoted 28 lines
Date: Monday, February 23, 2009, 7:12 PM
Quoted 1 line · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
Quoted 2 lines
On Mon, Feb 23, 2009 at 2:53 PM, Ian
Jackson
Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I getthis error:
Quoted 6 lines
Quoted 1 line
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
failure: pid 5409: died due to signal 7; see/var/log/xen/qemu-dm-win7.logHm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 8 lines
Quoted 6 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o/root/qemu-dm.strace\
/usr/lib/xen/bin/qemu-dm"$@"Quoted 1 line
and then give the name of the script as
device_modelin your config
file.
Is there anything more I can do to help debug this problem? I am eager to do more testing with pv_ops and I have time to do it at the moment, but hvm support is currently broken so there is little I can do with my test box.
Thx
Andy
Quoted 8 lines
Quoted 1 line
I see:
...
5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539747423}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 539837298}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left
{0,
Quoted 7 lines
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 ioctl(10, EVIOCGKEYCODE, 0x7fffdfd52b70) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540495964}) = 0 5079 clock_gettime(CLOCK_MONOTONIC, {1324, 540591278}) = 0 5079 select(14, [3 6 10 11 13], [], [], {0, 10000}) = 1 (in [10], left
{0,
Quoted 11 lines
9995})
5079 read(10, "\36\0\0\0"..., 4) = 4 5079 write(10, "\36\0\0\0"..., 4) = 4 5079 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) =
0x7f1ad5f2b000
5079
ioctl(4, SNDCTL_DSP_STEREO, 0x7fffdfd52230)= 0
5079 --- SIGBUS (Bus error) @ 0 (0) ---
5157 +++ killed by SIGBUS +++
Quoted 10 lines
This mmap and ioctl is from
/proc/xen/privcmd.J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
In reply to Andrew LyonQuoted 56 lines · Andrew Lyon
Quoted 53 lines · Boris Derzhavets
I fixed error in hvm profile and got a similar qemu-dm.strace (
/usr/lib64/.../qemu-dm).--- On Mon, 2/23/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures
To: "Ian Jackson" <[email protected]>
Cc: "Andrew Lyon" <[email protected]>, "[email protected]" <[email protected]>, "Ian Campbell" <[email protected]>
Date: Monday, February 23, 2009, 7:12 PMQuoted 2 lines · Ian Jackson
Andrew Lyon writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
Quoted 2 lines
On Mon, Feb 23, 2009 at 2:53 PM, Ian
Jackson
Quoted 5 lines · <[email protected]> wrote:
Quoted 5 lines
Quoted 3 lines
These messages are not very surprising. Is it working ?
No, when try to start HVM on Xen unstable with
pv_opskernel I getthis error:
Quoted 5 lines
Ah. This is rather odd. Normally I would hope that xend would report an exit status. (I haven't tried pvops with qemu.)
Hm, I'm getting:
[2009-02-23 15:26:18 4380] WARNING (image:482) domain win7: device model
failure: pid 5409: died due to signal 7; see/var/log/xen/qemu-dm-win7.logHm, signal 7 - SIGBUS. I wonder if
Using stub domains doesn't work either.
Quoted 7 lines
I would suggest running qemu-dm under strace. This can be done easily enough with a simple wrapper script, something like:
#!/bin/sh
set -e
exec strace -vvs500 -f -o/root/qemu-dm.strace\
/usr/lib/xen/bin/qemu-dm"$@"
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
and then give the name of the script as
device_modelin your config file.Is there anything more I can do to help debug this problem? I am eager to do more testing with
pv_opsand I have time to do it at the moment, but hvm support is currently broken so there is little I can do with my test box.
I was hoping Ian J would pop up and say "Its broken like this! Fix it like this!".
There does appear to be some incompatibility between the pvops dom0 and qemu which is causing this SIGBUS; it would be really useful to know what page qemu is trying to access. It might be a problem in the pvops /proc/xen/privcmd implementation, or it could be a bug in qemu which happens to work with 2.6.18.
The alternative is to try stubdom, which should avoid the issue. I haven't had much success in making it work, but it looks like I was not starting fs-backend. I'll try again shortly.
J
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)"):
Quoted 2 lines
I was hoping Ian J would pop up and say "Its broken like this! Fix it like this!".
Yes, when I have a moment I'll try it myself but I've been buried in the bowels of a nightmare USB emulation. Soon I'll know whether the latter works and thus whether I have any time to dig into pvops.
Ian.
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 10 lines · Ian Jackson
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)"):
Quoted 2 lines
I was hoping Ian J would pop up and say "Its broken like this! Fix it like this!".
Yes, when I have a moment I'll try it myself but I've been buried in the bowels of a nightmare USB emulation. Soon I'll know whether the latter works and thus whether I have any time to dig into pvops.
Ian.
Has anybody made any progress on the qemu-dm / hvm issue with pv_ops? I spent most of yesterday going through the strace logs but I cannot see why it fails as it does.
pv domU seems to work ok, but I dont have any need to run pv.
andy
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoting Stefano Stabellini:-
Hi all,
this patch series imports from qemu mainstream the recent DisplayState interface changes.
The new interface allows to have multiple frontends running at the same time (vnc and sdl), however this series does not enable it in xend yet. Most of the patches are just backports from qemu mainstream, adapted to qemu-xen whenever was necessary.
The last two patches are not in qemu mainstream yet:
- patch 12 of 13 deals with changes to the xenfb frontend and backend;
- patch 13 of 13 introduces a DisplaySurface allocator interface that allows display frontends (like xenfbfront and sdl) to provide the DisplaySurface buffer to graphic devices whenever necessary. Currently it is used only by xenfbfront but it is also useful for sdl.
[Xen-devel] [PATCH 13 of 13] introducing a DisplayAllocator interface
Mon, 3/2/09 18KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 12 of 13] fix xenfb frontend and backend
Mon, 3/2/09 12KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 11 of 13] serial: open a null device if the CharDriverState argument is null Mon, 3/2/09 6KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 10 of 13] add an init function parameter to qemu_chr_open() Mon, 3/2/09 9KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 9 of 13] fix screendump
Mon, 3/2/09 9KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 6 of 13] graphical_console_init change
Mon, 3/2/09 97KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 4 of 13] DisplayState interface change
Mon, 3/2/09 70KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 2 of 13] Introduce accessors for DisplayState
Mon, 3/2/09 44KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 2 of 13] Introduce accessors for DisplayState
Mon, 3/2/09 44KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 8 of 13] Coalesce virtual console screen updates.
Mon, 3/2/09 9KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 7 of 13] fix console switch
Mon, 3/2/09 7KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 5 of 13] exploiting the new interface in vnc.c
Mon, 3/2/09 26KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 3 of 13] remove bgr
Mon, 3/2/09 9KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 1 of 13] Implement "info chardev" command. (Gerd Hoffmann) Mon, 3/2/09 14KB
Read
Stefano Stabellini
[Xen-devel] [PATCH 0 of 13] DisplayState changes
Mon, 3/2/09 5KB
--- On Tue, 3/3/09, Andrew Lyon <[email protected]> wrote:
From: Andrew Lyon <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)
To: "Ian Jackson" <[email protected]>
Cc: "Ian Campbell" <[email protected]>, "Jeremy Fitzhardinge" <[email protected]>, "[email protected]" <[email protected]>, "Boris Derzhavets" <[email protected]>
Date: Tuesday, March 3, 2009, 5:55 AM
Quoted 1 line · Ian Jackson
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one
more qemu-dm.strace obtained)"):
Quoted 1 line
Quoted 1 line
I was hoping Ian J would pop up and say "Its broken like this!
Fix it
Quoted 3 lines
Quoted 1 line
like this!".
Yes, when I have a moment I'll try it myself but I've been buried
in
Quoted 5 lines
the bowels of a nightmare USB emulation. Soon I'll know whether the latter works and thus whether I have any time to dig into pvops.
Ian.
Has anybody made any progress on the qemu-dm / hvm issue with pv_ops? I spent most of yesterday going through the strace logs but I cannot see why it fails as it does.
pv domU seems to work ok, but I dont have any need to run pv.
andy
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
In reply to Andrew LyonQuoted 11 lines · Andrew Lyon
Quoted 9 lines · Ian Jackson
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)"):
Quoted 3 lines
I was hoping Ian J would pop up and say "Its broken like this! Fix it like this!".
Yes, when I have a moment I'll try it myself but I've been buried in the bowels of a nightmare USB emulation. Soon I'll know whether the latter works and thus whether I have any time to dig into pvops.
Quoted 8 lines
Quoted 3 lines
Ian.
Has anybody made any progress on the qemu-dm / hvm issue with
pv_ops? I spent most of yesterday going through the strace logs but I cannot see why it fails as it does.
Thanks for looking into this. The crash is a SIGBUS in qemu, shortly after an mmap of /proc/xen/privcmd, which is a suspicious combination. The SIGBUS means we managed to create a mapping where the kernel thinks there are no backing pages (at least in part). It would be useful to know if any memory accesses to the privcmd mapping succeed, and what the offset of the failing one is. (Assuming the SIGBUS is related to a privcmd mapping at all.)
I don't think privcmd mappings can be completely broken, because the qemu backend for pvfb works fine, and I assume that uses that path to map the framebuffer...
Also, have you tried using stub domains? They should have no dependence on the dom0 kernel at all, so in theory they should work regardless.
J
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 34 lines · Jeremy Fitzhardinge
Quoted 17 lines · Andrew Lyon
Quoted 13 lines · Ian Jackson
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)"):
Quoted 4 lines
I was hoping Ian J would pop up and say "Its broken like this! Fix it like this!".
Yes, when I have a moment I'll try it myself but I've been buried in the bowels of a nightmare USB emulation. Soon I'll know whether the latter works and thus whether I have any time to dig into pvops.
Quoted 8 lines
Quoted 3 lines
Ian.
Has anybody made any progress on the qemu-dm / hvm issue with
pv_ops? I spent most of yesterday going through the strace logs but I cannot see why it fails as it does.Thanks for looking into this. The crash is a SIGBUS in qemu, shortly after an mmap of
/proc/xen/privcmd, which is a suspicious combination. The SIGBUS means we managed to create a mapping where the kernel thinks there are no backing pages (at least in part). It would be useful to know if any memory accesses to the privcmd mapping succeed, and what the offset of the failing one is. (Assuming the SIGBUS is related to a privcmd mapping at all.)
Quoted 9 lines
I don't think privcmd mappings can be completely broken, because the qemu backend for pvfb works fine, and I assume that uses that path to map the framebuffer...
Also, have you tried using stub domains? They should have no dependence on the dom0 kernel at all, so in theory they should work regardless.
J
I tried Stub domains yesterday but as soon as I "xm create" the system locked up, I could still ping it but no response on the serial console and ssh was responsive, very strange.. I've never seen a system ping but have unresponsive console.
Can we try to debug the problem with hvm on pv_ops?
Andy
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Ping is based on ICMP.
TCP (UDP) services might fail to reach the host.
Failure of cheksum offloading on the second host may be the first example. But here it doesn't seem to be the case.
"tcpdump" on Xen host may help after issue comes up.
See what happens to ssh packages when they arrive.
Boris.
--- On Wed, 3/18/09, Andrew Lyon <[email protected]> wrote:
From: Andrew Lyon <[email protected]>
Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtained)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Ian Campbell" <[email protected]>, "Boris Derzhavets" <[email protected]>, "[email protected]" <[email protected]>, "Ian Jackson" <[email protected]>
Date: Wednesday, March 18, 2009, 4:17 AM
Quoted 3 lines · Jeremy Fitzhardinge
Quoted 2 lines · Andrew Lyon
On Thu, Feb 26, 2009 at 11:35 AM, Ian Jackson
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · wrote:
Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops
failures (one more
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
qemu-dm.strace obtained)"):
Quoted 2 lines
I was hoping Ian J would pop up and say "Its broken like
this! Fix it
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
like this!".
Yes, when I have a moment I'll try it myself but I've been
buried in
Quoted 1 line
Quoted 1 line
Quoted 1 line
the bowels of a nightmare USB emulation. Soon I'll know
whether the
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
latter works and thus whether I have any time to dig into pvops.
Ian.
Quoted 6 lines
Quoted 4 lines
Has anybody made any progress on the qemu-dm / hvm issue with
pv_ops? I spent most of yesterday going through the strace logs but I cannot see why it fails as it does.Thanks for looking into this. The crash is a SIGBUS in qemu, shortly
after
Quoted 1 line
an mmap of
/proc/xen/privcmd, which is a suspicious combination. The
SIGBUS
Quoted 2 lines
means we managed to create a mapping where the kernel thinks there are no backing pages (at least in part). It would be useful to know if any
memory
Quoted 1 line
accesses to the privcmd mapping succeed, and what the offset of the
failing
Quoted 3 lines
one is. (Assuming the SIGBUS is related to a privcmd mapping at all.)
I don't think privcmd mappings can be completely broken, because the
qemu
Quoted 4 lines
backend for pvfb works fine, and I assume that uses that path to map the framebuffer...
Also, have you tried using stub domains? They should have no dependence
on
Quoted 4 lines
the dom0 kernel at all, so in theory they should work regardless.
J
I tried Stub domains yesterday but as soon as I "xm create" the system
locked up, I could still ping it but no response on the serial console and ssh was responsive, very strange.. I've never seen a system ping but have unresponsive console.
Can we try to debug the problem with hvm on pv_ops?
Andy
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM pvops failures (one more qemu-dm.strace obtained)
Quoted 9 lines · Boris Derzhavets
Ping is based on ICMP.
TCP (UDP) services might fail to reach the host.
Failure of cheksum offloading on the second host may be the first example. But here it doesn't seem to be the case.
"tcpdump" on Xen host may help after issue comes up.
See what happens to ssh packages when they arrive.Boris.
It is not a network problem, the system completely locks up when I try to start a stubdom, even the local keyboard and vga is not responsive.
Andy
Re: HVM pvops failures (one more qemu-dm.strace obtained)
In reply to Andrew LyonQuoted 7 lines · Andrew Lyon
I tried Stub domains yesterday but as soon as I "xm create" the system locked up, I could still ping it but no response on the serial console and ssh was responsive, very strange.. I've never seen a system ping but have unresponsive console.
Can we try to debug the problem with hvm on
pv_ops?
I haven't seen anything like that before. All I've seen is that domain creation fails, but dom0 is unaffected. On the other hand, I haven't had a chance to try out hvm lately, as I've been working on other things.
J
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
In reply to Ian JacksonQuoted 3 lines
In this case, just now. All changes that we make to xen-unstable, including the qemu-xen-unstable subsidiary tree, go through an automated build-and-test.
I've cloned xen-unstable about 1.5 hr ago , by some reasons changes
had not been applied to /usr/src/xen-unstable.hg/tools/ioemu-remote/hw/pass-through.c .
Quoted 1 line
Is it working ?
PV DomUs for F10,SNV_106,Interpid Server (via debootstrap),
OpenSuse 11.1 may be installed ( via remote VNC connection, even utilizing vfb ) and work pretty stable at Xen Unstable Dom0 ( kernel 2.6.29-rc5 ).
HVM DomUs failed at startup . Nothing listen at localhost:5900.
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
To: "[email protected]" <[email protected]>
Cc: "Simon Horman" <[email protected]>, "Yuji Shimada" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 9:53 AM
Boris Derzhavets writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 2 lines
I was under impression, that mentioned patch is supposed to support
loading HVM DomU (?).
No, it's just code cleanup for PCI passthrough, which is for passing PCI devices through to guests. If you are not doing PCI passthrough - ie, most ordinary HVM guests - then these changes will not affect you.
Quoted 2 lines
If answer is "yes" , then my question:-
When http://xenbits.xensource.com/xen-unstable.hg will get this update?
In this case, just now. All changes that we make to xen-unstable, including the qemu-xen-unstable subsidiary tree, go through an automated build-and-test. Only versions which pass the (fairly rudimentary) tests make it through to the main trees.
The pre-testing trees (called staging') are also available and published but not the usual' case.
Quoted 3 lines
Looks like "make tools" is using
http://xenbits.xensource.com/git-http/qemu-xen-unstable.git when building xen-unstable.hg/tools/ioemu-remote.
Yes. You can change this by setting the CONFIG_QEMU make variable, eg in a file `.config' in the xen-unstable.hg top level.
Quoted 4 lines
If answer is "no", i am sorry for misunderstanding.
Fresh Xen-Unstable Dom0 install (along with the most recent build
2.6.29-rc5) still shows during attempt to start HVM DomU:-
These messages are not very surprising. Is it working ?
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
Boris Derzhavets writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
[Ian Jackson:]
Quoted 1 line
Is it working ?
...
Quoted 1 line
HVM DomUs failed at startup . Nothing listen at localhost:5900.
Is this with dom0 pvops ? Or something else ? Could you post your config file ?
Unless you're actually using pci passthrough the changes to hw/pass-through.[ch] are irrelevant to you.
Thanks,
Ian.
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
Quoted 9 lines · Ian Jackson
Boris Derzhavets writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):Quoted 2 lines
[Ian Jackson:]
Quoted 1 line
Is it working ?
...
Quoted 1 line
HVM DomUs failed at startup . Nothing listen at localhost:5900.
Is this with dom0 pvops ? Or something else ? Could you post your config file ?
I have the same problem as Boris, its very easy to replicate, just try to start a hvm while running a recent pv_ops kernel in dom0 with Xen 3.2.1 + backported pv_ops patches or Xen 3.4 unstable.
Last few lines of "xm log"
[2009-02-23 17:02:22 3524] DEBUG (DevController:144) Waiting for 0. [2009-02-23 17:02:22 3524] DEBUG (DevController:139) Waiting for devices pci. [2009-02-23 17:02:22 3524] DEBUG (DevController:139) Waiting for devices ioports.
[2009-02-23 17:02:22 3524] DEBUG (DevController:139) Waiting for devices tap. [2009-02-23 17:02:22 3524] DEBUG (DevController:139) Waiting for devices vtpm. [2009-02-23 17:02:22 3524] INFO (XendDomain:1180) Domain xptest (2) unpaused. [2009-02-23 17:02:22 3524] WARNING (image:482) domain xptest: device model failure: pid 4028: malfunctioning (closed sentinel), killed; see /var/log/xen/qemu-dm-xptest.log u start the hvm qemu-dm fails:
localhost xen # cat /var/log/xen/qemu-dm-xptest.log
domid: 2
qemu: the number of cpus is 2
config qemu network with xen bridge for tap2.0 xenbr0
Watching /local/domain/0/device-model/2/logdirty/next-active Watching /local/domain/0/device-model/2/command
char device redirected to /dev/pts/1qemu_map_cache_init nr_buckets = 10000 size 3145728
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 46f22c82-8a3d-47e3-b9c5-3b5f6eaf7a12
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform. xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read error medium change watch on `hdc' (index: 1): /mnt/jos-tb1_store/CD Images/Other/EN Win_XP_Pro_w_SP2/en_winxp_pro_with_sp2.iso
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 cirrus vga map change while on lfb mode
localhost xen #
xm info:
host : localhost
release : 2.6.29-rc5-tip
version : #2 SMP Sun Feb 22 13:27:49 GMT 2009
machine : x86_64nr_cpus : 2nr_nodes : 1cores_per_socket : 2threads_per_core : 1cpu_mhz : 2394hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:0
0000001:00000000virt_caps : hvm hvm_directiototal_memory : 3965free_memory : 131node_to_cpu : node0:0-1node_to_memory : node0:131xen_major : 3xen_minor : 4xen_extra : -unstablexen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x
86_32p hvm-3.0-x86_64xen_scheduler : creditxen_pagesize : 4096platform_params : virt_start=0xffff800000000000xen_changeset : unavailablecc_compiler : gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)cc_compile_by : root
cc_compile_domain : cc_compile_date : Mon Feb 23 10:37:49 GMT 2009 xend_config_format : 4
kernel config:
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.29-rc5
# Fri Feb 20 10:40:57 2009
#CONFIG_64BIT=y
# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=y CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_FAST_CMPXCHG_LOCAL=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=y CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y CONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_X86_TRAMPOLINE=y
# CONFIG_KTIME_SCALAR is not set CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not setCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_TREE=y
#
# RCU Subsystem
#CONFIG_CLASSIC_RCU=y
# CONFIG_TREE_RCU is not set
# CONFIG_PREEMPT_RCU is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_PREEMPT_RCU_TRACE is not setCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=17CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_GROUP_SCHED is not set
# CONFIG_CGROUPS is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not setCONFIG_RELAY=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=y
# CONFIG_NET_NS is not setCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_EXTRA_PASS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=y
# CONFIG_COMPAT_BRK is not setCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_ANON_INODES=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_COUNTERS=y
#
# Performance Counters
#CONFIG_PERF_COUNTERS=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not setCONFIG_TRACEPOINTS=yCONFIG_MARKERS=yCONFIG_HAVE_OPROFILE=yCONFIG_KPROBES=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_KRETPROBES=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=y
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not setCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_INTEGRITY is not setCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"CONFIG_FREEZER=y
#
# Processor type and features
#
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_SMP=y
# CONFIG_X86_X2APIC is not set
# CONFIG_SPARSE_IRQ is not set CONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_VSMP is not set
# CONFIG_X86_UV is not set CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_PARAVIRT_GUEST=yCONFIG_XEN=yCONFIG_XEN_MAX_DOMAIN_MEMORY=32 CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_DOM0_PCI=y
# CONFIG_KVM_CLOCK is not set
# CONFIG_KVM_GUEST is not set CONFIG_PARAVIRT=yCONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not setCONFIG_MCORE2=y
# CONFIG_GENERIC_CPU is not set CONFIG_X86_CPU=y CONFIG_X86_L1_CACHE_BYTES=64 CONFIG_X86_INTERNODE_CACHE_BYTES=64 CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_P6_NOP=yCONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_DEBUGCTLMSR=y CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=y CONFIG_CPU_SUP_CENTAUR_64=yCONFIG_X86_DS=yCONFIG_X86_PTRACE_BTS=yCONFIG_HPET_TIMER=yCONFIG_DMI=yCONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
# CONFIG_AMD_IOMMU is not set CONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_API is not set
# CONFIG_MAXSMP is not setCONFIG_NR_CPUS=4
# CONFIG_SCHED_SMT is not set CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set # CONFIG_X86_MCE is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set CONFIG_X86_MSR=yCONFIG_X86_CPUID=y CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_DIRECT_GBPAGES=y
# CONFIG_NUMA is not set CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set CONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=y CONFIG_HAVE_MEMORY_PRESENT=y CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_VMEMMAP=y
# CONFIG_MEMORY_HOTPLUG is not set CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_PHYS_ADDR_T_64BIT=y CONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y CONFIG_UNEVICTABLE_LRU=y
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set CONFIG_X86_RESERVE_LOW_64K=yCONFIG_MTRR=yCONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 # CONFIG_X86_PAT is not set
# CONFIG_EFI is not setCONFIG_SECCOMP=y
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000
# CONFIG_SCHED_HRTICK is not set CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set CONFIG_PHYSICAL_START=0x200000
# CONFIG_RELOCATABLE is not set CONFIG_PHYSICAL_ALIGN=0x200000 CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
#
# Power management and ACPI options
#CONFIG_PM=yCONFIG_PM_DEBUG=y
# CONFIG_PM_VERBOSE is not setCONFIG_CAN_PM_TRACE=yCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_PM_SLEEP_SMP=yCONFIG_PM_SLEEP=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not setCONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_SYSFS_POWER=yCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_FAN=yCONFIG_ACPI_DOCK=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not setCONFIG_ACPI_SYSTEM=yCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not setCONFIG_CPU_IDLE=yCONFIG_CPU_IDLE_GOV_LADDER=y
#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_XEN=yCONFIG_PCI_DOMAINS=y
# CONFIG_DMAR is not set
# CONFIG_INTR_REMAP is not setCONFIG_PCIEPORTBUS=y
# CONFIG_HOTPLUG_PCI_PCIE is not setCONFIG_PCIEAER=y
# CONFIG_PCIEASPM is not setCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=y
# CONFIG_PCI_LEGACY is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_STUB is not setCONFIG_HT_IRQ=yCONFIG_ISA_DMA_API=yCONFIG_K8_NB=y
# CONFIG_PCCARD is not setCONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_FAKE is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=yCONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not setCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_NET=y
#
# Networking options
#CONFIG_COMPAT_NET_DEV_OPS=yCONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not setCONFIG_IP_FIB_HASH=yCONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_MULTIPATH is not setCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not setCONFIG_IP_MROUTE=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not setCONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not setCONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_BIC is not setCONFIG_TCP_CONG_CUBIC=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
# CONFIG_TCP_CONG_VEGAS is not set
# CONFIG_TCP_CONG_SCALABLE is not set
# CONFIG_TCP_CONG_LP is not set
# CONFIG_TCP_CONG_VENO is not set
# CONFIG_TCP_CONG_YEAH is not set
# CONFIG_TCP_CONG_ILLINOIS is not set
# CONFIG_DEFAULT_BIC is not setCONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_RENO is not setCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not setCONFIG_STP=yCONFIG_BRIDGE=y
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not setCONFIG_LLC=y
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_PHONET is not setCONFIG_FIB_RULES=yCONFIG_WIRELESS=yCONFIG_CFG80211=y
# CONFIG_CFG80211_REG_DEBUG is not setCONFIG_NL80211=yCONFIG_WIRELESS_OLD_REGULATORY=yCONFIG_WIRELESS_EXT=yCONFIG_WIRELESS_EXT_SYSFS=y
# CONFIG_LIB80211 is not setCONFIG_MAC80211=y
#
# Rate control algorithm selection
#CONFIG_MAC80211_RC_MINSTREL=y
# CONFIG_MAC80211_RC_DEFAULT_PID is not setCONFIG_MAC80211_RC_DEFAULT_MINSTREL=yCONFIG_MAC80211_RC_DEFAULT="minstrel"
# CONFIG_MAC80211_MESH is not setCONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not setCONFIG_DEBUG_DEVRES=y
# CONFIG_SYS_HYPERVISOR is not setCONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
# CONFIG_MTD is not set
# CONFIG_PARPORT is not setCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not setCONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_BLK_DEV_HD is not setCONFIG_MISC_DEVICES=y
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_93CX6 is not setCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=yCONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not setCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not setCONFIG_BLK_DEV_SR=yCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not setCONFIG_SCSI_ISCSI_ATTRS=y
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_ACPI=yCONFIG_SATA_PMP=yCONFIG_SATA_AHCI=y
# CONFIG_SATA_SIL24 is not setCONFIG_ATA_SFF=y
# CONFIG_SATA_SVW is not setCONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ACPI is not set
# CONFIG_PATA_ALI is not setCONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not setCONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not setCONFIG_PATA_SCH=yCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not setCONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_CRYPT is not setCONFIG_DM_SNAPSHOT=mCONFIG_DM_MIRROR=yCONFIG_DM_ZERO=y
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#
#
# Enable only one of the two stacks, unless you know what you are doing #
# CONFIG_FIREWIRE is not set
# CONFIG_IEEE1394 is not set
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=y
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_NET_ETHERNET is not setCONFIG_NETDEV_1000=y
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not setCONFIG_E1000E=m
# CONFIG_IP1000 is not set
# CONFIG_IGB is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_JME is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_IWLWIFI_LEDS is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not setCONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not setCONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not setCONFIG_NETPOLL=y
# CONFIG_NETPOLL_TRAP is not setCONFIG_NET_POLL_CONTROLLER=y
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not setCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not setCONFIG_XEN_KBDDEV_FRONTEND=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not setCONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not setCONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not set
# CONFIG_TABLET_USB_AIPTEK is not set
# CONFIG_TABLET_USB_GTCO is not set
# CONFIG_TABLET_USB_KBTAB is not set
# CONFIG_TABLET_USB_WACOM is not setCONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not setCONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_UINPUT is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_DEVKMEM=yCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
# CONFIG_SYNCLINK is not set
# CONFIG_SYNCLINKMP is not set
# CONFIG_SYNCLINK_GT is not set
# CONFIG_N_HDLC is not set
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not set
# CONFIG_NOZOMI is not set
#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not setCONFIG_FIX_EARLYCON_MEM=y
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_JSM is not setCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not setCONFIG_HVC_DRIVER=yCONFIG_HVC_IRQ=yCONFIG_HVC_XEN=y
# CONFIG_IPMI_HANDLER is not setCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not setCONFIG_NVRAM=y
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not setCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_CHARDEV is not setCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=y
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_SIMTEC is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set
#
# Graphics adapter I2C/DDC channel drivers
#
# CONFIG_I2C_VOODOO3 is not set
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_STUB is not set
#
# Miscellaneous I2C Chip support
#
# CONFIG_DS1682 is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_PCF8575 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not setCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_BATTERY_BQ27x00 is not setCONFIG_HWMON=m
# CONFIG_HWMON_VID is not set
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7473 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not setCONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_HWMON_DEBUG_CHIP is not setCONFIG_THERMAL=y
# CONFIG_WATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_REGULATOR is not set
#
# Multimedia devices
#
#
# Multimedia core support
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
# CONFIG_VIDEO_MEDIA is not set
#
# Multimedia drivers
#
# CONFIG_DAB is not set
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not setCONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not setCONFIG_DRM_I915=y
# CONFIG_DRM_I915_KMS is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not setCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not setCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not setCONFIG_FB_SYS_FILLRECT=yCONFIG_FB_SYS_COPYAREA=yCONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not setCONFIG_FB_SYS_FOPS=yCONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not setCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not setCONFIG_XEN_FBDEV_FRONTEND=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not setCONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not setCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_BACKLIGHT_MBP_NVIDIA is not set
# CONFIG_BACKLIGHT_SAHARA is not set
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not setCONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not setCONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not setCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_DEBUG=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not setCONFIG_USB_MON=y
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not setCONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not setCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HWA_HCD is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not setCONFIG_USB_PRINTER=y
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; #
#
# see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set CONFIG_USB_LIBUSUAL=y
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_VST is not set
#
# OTG and related infrastructure
#
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_ALIX2 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_PCA955X is not set
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_UIO is not setCONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_XEN_COMPAT_XENFS=yCONFIG_XEN_XENBUS_FRONTEND=y
# CONFIG_STAGING is not setCONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not setCONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not setCONFIG_DCDBAS=yCONFIG_DMIID=y
# CONFIG_ISCSI_IBFT_FIND is not set
#
# File systems
#CONFIG_EXT2_FS=m
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=y
# CONFIG_EXT4_FS is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_FILE_LOCKING=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not setCONFIG_DNOTIFY=yCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not setCONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not setCONFIG_QFMT_V2=yCONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not setCONFIG_GENERIC_ACL=y
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=y
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not setCONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not setCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=yCONFIG_ROOT_NFS=y
# CONFIG_NFSD is not setCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_NFS_ACL_SUPPORT=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=yCONFIG_SUNRPC_GSS=y
# CONFIG_SUNRPC_REGISTER_V4 is not setCONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not setCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not setCONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not setCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="utf8"CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not setCONFIG_NLS_ASCII=yCONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not setCONFIG_NLS_UTF8=y
# CONFIG_DLM is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not setCONFIG_ALLOW_WARNINGS=yCONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not setCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not setCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not setCONFIG_DETECT_HUNG_TASK=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_SCHED_DEBUG is not setCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not setCONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not setCONFIG_SYSCTL_SYSCALL_CHECK=yCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_HW_BRANCH_TRACER=yCONFIG_RING_BUFFER=yCONFIG_TRACING=y
#
# Tracers
#
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SYSPROF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_CONTEXT_SWITCH_TRACER is not set
# CONFIG_BOOT_TRACER is not set
# CONFIG_TRACE_BRANCH_PROFILING is not set
# CONFIG_POWER_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_HW_BRANCH_TRACER is not set
# CONFIG_KMEMTRACE is not set
# CONFIG_WORKQUEUE_TRACER is not setCONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_STRICT_DEVMEM is not setCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not setCONFIG_DEBUG_STACKOVERFLOW=yCONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not setCONFIG_DEBUG_NX_TEST=m
# CONFIG_IOMMU_DEBUG is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
# CONFIG_OPTIMIZE_INLINING is not set
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_DEBUG_PROC_KEYS=y
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not setCONFIG_SECURITY_FILE_CAPABILITIES=yCONFIG_CRYPTO=y
#
# Crypto core or helper
#
# CONFIG_CRYPTO_FIPS is not setCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_CRYPTD is not setCONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
#
# Block modes
#CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not setCONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
#
# Hash modes
#CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not setCONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set
#
# Ciphers
#CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_X86_64 is not set
# CONFIG_CRYPTO_ANUBIS is not setCONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not setCONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_LZO is not set
#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not setCONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_HIFN_795X is not setCONFIG_HAVE_KVM=yCONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not setCONFIG_CRC_T10DIF=y
# CONFIG_CRC_ITU_T is not setCONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not setCONFIG_ZLIB_INFLATE=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=y
Andy
Quoted 12 lines
Unless you're actually using pci passthrough the changes to hw/pass-through.[ch] are irrelevant to you.
Thanks,
Ian._______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
In reply to Ian JacksonQuoted 2 lines
Is this with dom0 pvops ? Or something else ? Could you post your config file ?
Yes , with dom0 pvops
# lofiadm -f ~boris/isos/ubuntuSRV.iso # cd ../vm # cat intrepid.hvm
name = "Ubuntu810HVM"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb7,hda,w'] vif = [ 'type=ioemu,bridge=eth0' ]device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
boot="d"
usb=1
usbdevice="tablet"
vcpus=1on_reboot = "restart"on_crash = "restart"
# xm create intrepid.hvm
--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] HVM guest question (was Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.)
To: "[email protected]" <[email protected]>
Cc: "Simon Horman" <[email protected]>, "Yuji Shimada" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 11:22 AM
Boris Derzhavets writes ("Re: [Xen-devel] HVM guest question (was Re:
[PATCH] ioemu: Cleanup the code of PCI passthrough.)"):
Quoted 2 lines
[Ian Jackson:]
Quoted 1 line
Is it working ?
...
Quoted 1 line
HVM DomUs failed at startup . Nothing listen at localhost:5900.
Is this with dom0 pvops ? Or something else ? Could you post your config file ?
Unless you're actually using pci passthrough the changes to hw/pass-through.[ch] are irrelevant to you.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 119 lines · Boris Derzhavets
I was under impression, that mentioned patch is supposed to support
loading HVM DomU (?). If answer is "yes" , then my question:- When http://xenbits.xensource.com/xen-unstable.hg will get this update? Looks like "make tools" is using
http://xenbits.xensource.com/git-http/qemu-xen-unstable.git when building xen-unstable.hg/tools/ioemu-remote.
If answer is "no", i am sorry for misunderstanding.Fresh Xen-Unstable Dom0 install (along with the most recent build
2.6.29-rc5) still shows during attempt to start HVM DomU:-# xm dmesg . . . . . . (XEN) HVM1: HVM Loader (XEN) HVM1: Detected Xen v3.4-unstable (XEN) HVM1: CPU speed is 3006 MHz (XEN) irq.c:235: Dom1 PCI link 0 changed 0 -> 5 (XEN) HVM1: PCI-ISA link 0 routed to IRQ5 (XEN) irq.c:235: Dom1 PCI link 1 changed 0 -> 10 (XEN) HVM1: PCI-ISA link 1 routed to IRQ10 (XEN) irq.c:235: Dom1 PCI link 2 changed 0 -> 11 (XEN) HVM1: PCI-ISA link 2 routed to IRQ11 (XEN) irq.c:235: Dom1 PCI link 3 changed 0 -> 5 (XEN) HVM1: PCI-ISA link 3 routed to IRQ5 (XEN) HVM1: pci dev 01:2 INTD->IRQ5 (XEN) HVM1: pci dev 01:3 INTA->IRQ10 (XEN) HVM1: pci dev 03:0 INTA->IRQ5 (XEN) HVM1: pci dev 04:0 INTA->IRQ5 (XEN) HVM1: pci dev 02:0 bar 10 size 02000000: f0000008 (XEN) HVM1: pci dev 03:0 bar 14 size 01000000: f2000008 (XEN) HVM1: pci dev 02:0 bar 14 size 00001000: f3000000 (XEN) HVM1: pci dev 03:0 bar 10 size 00000100: 0000c001 (XEN) HVM1: pci dev 04:0 bar 10 size 00000100: 0000c101 (XEN) HVM1: pci dev 04:0 bar 14 size 00000100: f3001000 (XEN) HVM1: pci dev 01:2 bar 20 size 00000020: 0000c201 (XEN) HVM1: pci dev 01:1 bar 20 size 00000010: 0000c221 (XEN) HVM1: Multiprocessor initialisation: (XEN) HVM1: - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (XEN) HVM1: Testing HVM environment: (XEN) HVM1: - REP INSB across page boundaries ... passed (XEN) HVM1: Passed 1/1 tests (XEN) HVM1: Writing SMBIOS tables ... (XEN) HVM1: Loading ROMBIOS ... (XEN) HVM1: 9788 bytes of ROMBIOS high-memory extensions: (XEN) HVM1: Relocating to 0xfc000000-0xfc00263c ... done (XEN) HVM1: Creating MP tables ... (XEN) HVM1: Loading Cirrus VGABIOS ... (XEN) HVM1: Loading PCI Option ROM ... (XEN) HVM1: - Manufacturer: http://etherboot.org (XEN) HVM1: - Product name: gPXE (XEN) HVM1: Loading ACPI ...********************************
Logfile under/var/log/xen:-
********************************domid: 1
qemu: the number of cpus is 1
config qemu network with xen bridge for tap1.0 eth0
Watching /local/domain/0/device-model/1/logdirty/next-active Watching /local/domain/0/device-model/1/commandxs_read(): vncpasswd get error. /vm/1388b5b0-3888-5c75-b701-3e82249a379e/vncpasswd.qemu_map_cache_initnr_buckets= 10000 size 3145728
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 1388b5b0-3888-5c75-b701-3e82249a379e
Time offset set 0
populating video RAM atff000000
mapping video RAM fromff000000
Register xen platform.
Done register platform.xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error medium change watch on `hdc' (index: 0):/dev/loop0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 cirrus vga map change while on lfb mode--- On Mon, 2/23/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough.
To: "Simon Horman" <[email protected]>
Cc: "Yuji Shimada" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, February 23, 2009, 6:36 AMSimon Horman writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 4 lines · Yuji Shimada
Quoted 1 line
Signed-off-by Yuji Shimada <[email protected]>Tested-by Simon Horman <[email protected]>Thanks, I have applied this.
The problem causing it to be rejected was that hw/passthrough.[ch] and hw/pt-msi.[ch] were full of trailing whitespace, which Yuji Shimada's mailer evidently removes. I think
the mailer was right and the code
was wrong.So I have removed all of that trailing whitespace with a trivial perl one-liner and then committed the cleanup patch on top. I haven't tested the pass-through but the tree does build.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Boris,
There is another problem as well as the "pci power management" issue that the patch fixes, with Xen unstable and the patch applied I can start hvm's if I use a normal Xen kernel, but if I use the pv_ops kernel I get the sentinel message in xen log:
[2009-02-22 14:01:53 3467] WARNING (image:470) domain xptest: device model failure: pid 3735: malfunctioning (closed sentinel), killed; see /var/log/xen/qemu-dm-xptest.log
I've posted the qemu-dm log before, I dont think this line "I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0" is about the problem because it is also logged when I use a non pv_ops kernel and hvm works ok.
Andy
Quoted 8 lines · Ian Jackson
Simon Horman writes ("Re: [Xen-devel] Re: [PATCH] ioemu: Cleanup the code of PCI passthrough."):
Quoted 4 lines · Yuji Shimada
Quoted 1 line
Signed-off-by Yuji Shimada <[email protected]>Tested-by Simon Horman <[email protected]>Thanks, I have applied this.
Quoted 8 lines
The problem causing it to be rejected was that hw/passthrough.[ch] and hw/pt-msi.[ch] were full of trailing whitespace, which Yuji Shimada's mailer evidently removes. I think the mailer was right and the code was wrong.
So I have removed all of that trailing whitespace with a trivial perl one-liner and then committed the cleanup patch on top. I haven't tested the pass-through but the tree does build.
It seems to work in my environment (2.6.27.5 dom0, not pv_ops).
Signature · 3 lines
Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en